-
Bug
-
Resolution: Fixed
-
Major
-
None
When using timestamper in a build with PublishOverSSHPlugin, timestamper replaces some output of PublishOverSSHPlugin by strange, nonprinting characters.
log by deactivated timestamper
$> cat -v log ... SSH: Connecting with configuration [foo] ... SSH: EXEC: STDOUT/STDERR from command [echo "test"] ... test SSH: EXEC: completed after 401 ms SSH: Disconnecting configuration [foo] ... SSH: Transferred 0 file(s) Build step 'Send files or execute commands over SSH' changed build result to SUCCESS Finished: SUCCESS
log by activated timestamper
$> cat -v log ... SSH: Connecting with configuration [foo] ... SSH: EXEC: STDOUT/STDERR from command [echo "test"] ... ^@^@^@^\^MSSH: EXEC: completed after 401 ms SSH: EXEC: completed after 401 ms SSH: Disconnecting configuration [foo] ... SSH: Transferred 0 file(s) Build step 'Send files or execute commands over SSH' changed build result to SUCCESS Finished: SUCCESS
Code changed in jenkins
User: StevenGBrown
Path:
src/main/java/hudson/plugins/timestamper/TimestamperBuildWrapper.java
http://jenkins-ci.org/commit/timestamper-plugin/d46408fc7da77fc5560cfc06e086a551e7edfe78
Log:
[FIXED JENKINS-19193]
Pass through the offset argument provided to TimestamperOutputStream.write