Timestamper plugin and email-ext build log regex produces garbage in email

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Timestamper plugin and email-ext build log regex produces garbage in email

SauravSengupta
There seems to be some interaction between these two plugins. I'm using the timestamper plugin to add timestamps to the build logs. I'm also using the build log regex functionality in the email-ext plugin to add the relevant section of the logs to the email. But if the build logs have timestamps in them, I see a lot of garbage (possibly Unicode?) in the email. For example:

This is copy/paste from the console log as viewed in Firefox:

03:53:12  ** Error ** Could not duplicate archive: Access is denied

And this is what came in the email:

 [8mha:AAAAdB+LCAAAAAAAAABb85aBtbiIQSOjNKU4P0+vIKc0PTOvWK8kMze1uCQxtyC1SC8ExvbLL0llgABGJgZGLwaB3MycnMzi4My85FTXgvzkjIoiBimoScn5ecX5Oal6zhAaVS9DRQGQ1np9+S8vAMBzXNCBAAAA [0m** Error ** Could not duplicate archive: Access is denied
Reply | Threaded
Open this post in threaded view
|

Re: Timestamper plugin and email-ext build log regex produces garbage in email

Steven Brown
I've raised an issue on the email-ext plugin.
http://issues.hudson-ci.org/browse/HUDSON-7402

SauravSengupta wrote
There seems to be some interaction between these two plugins. I'm using the timestamper plugin to add timestamps to the build logs. I'm also using the build log regex functionality in the email-ext plugin to add the relevant section of the logs to the email. But if the build logs have timestamps in them, I see a lot of garbage (possibly Unicode?) in the email.