Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19193

timestamper replaces some console output by nonprinting characters

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • timestamper-plugin
    • 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
      

          [JENKINS-19193] timestamper replaces some console output by nonprinting characters

          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

          SCM/JIRA link daemon added a comment - 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

          Thanks for bug report, should be fixed in Timestamper 1.5.7.

          Steven G Brown added a comment - Thanks for bug report, should be fixed in Timestamper 1.5.7.

          ismail demirel added a comment - - edited

          It works fine with 1.5.7, thanks.

          ismail demirel added a comment - - edited It works fine with 1.5.7, thanks.

            stevengbrown Steven G Brown
            ismaild ismail demirel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: