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

Publish over SSH log the output of the exec global option

    • Icon: Improvement Improvement
    • Resolution: Incomplete
    • Icon: Major Major
    • None
    • Jenkins 2.249.2
      Publish over SSH 1.21

      See https://issues.jenkins.io/browse/JENKINS-64101?focusedCommentId=401329&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-401329 for how to re-enable logging

      We updated to the latest version of the plugin last week and noticed that our jobs don't write the output of the commands that are executed on the remote server anymore.

      For most Jobs this is not a big issue, but we have some that actually parse the Jenkins log for this output, which now actually fail (although the SSH works).

       The actual output in the 'before' screenshot is obviously cut because of sensitive information.

          [JENKINS-64101] Publish over SSH log the output of the exec global option

          Carlos Ruiz added a comment -

          Thanks awinlei, I think there is no need to downgrade, just check the Verbose output in console in the Advanced configuration of the shell task.

          Carlos Ruiz added a comment - Thanks awinlei , I think there is no need to downgrade, just check the Verbose output in console in the Advanced configuration of the shell task.

          Markus Kusserow added a comment - - edited

          Thanks malice00. This type of change should be communicated very clearly!

          We have a lot of jobs maintained by different employees. Until it is clear how this change should be dealt with, we will decide to downgrade and stay with version 1.20.1.

          It would be helpful if the default behavior could be configured system-wide and on a job basis the deviant behavior.

          Markus Kusserow added a comment - - edited Thanks malice00 . This type of change should be communicated very clearly! We have a lot of jobs maintained by different employees. Until it is clear how this change should be dealt with, we will decide to downgrade and stay with version 1.20.1. It would be helpful if the default behavior could be configured system-wide and on a job basis the deviant behavior.

          John Beckerle added a comment -

          I second the comment by Markus Kusserow. 

          We need the option to be able to configure the default behavior of the "Verbose output in console" option on a system wide basis.

          In our system we currently depend upon this output in multiple hundreds of projects.  Visiting each project just to change this setting is not a good use of time.  And I would rather not have to figure out how to do it with a global edit either.

          We have downgraded to version 1.20.1 for now.

          John Beckerle added a comment - I second the comment by Markus Kusserow.  We need the option to be able to configure the default behavior of the "Verbose output in console" option on a system wide basis. In our system we currently depend upon this output in multiple hundreds of projects.  Visiting each project just to change this setting is not a good use of time.  And I would rather not have to figure out how to do it with a global edit either. We have downgraded to version 1.20.1 for now.

          Sorin Srbu added a comment - - edited

          carlosruiz_globalqss
          I can't for my life find that setting. 
          Where is it??

           

          Nevermind! Found it!

          Still don't see any output though, just success or unstable.
          I'm downgrading till this is fixed. :-/

          Sorin Srbu added a comment - - edited carlosruiz_globalqss I can't for my life find that setting.  Where is it??   Nevermind! Found it! Still don't see any output though, just success or unstable. I'm downgrading till this is fixed. :-/

          For anyone not wanting to waste a few aggravating minutes of finding the setting, see screenshots below:

           

          Travis Abdelhamed added a comment - For anyone not wanting to waste a few aggravating minutes of finding the setting, see screenshots below:  

          Tim Jacomb added a comment -

          porkrines42 does configuring the option work for you? as the previous user said it didn't work for them

          cc slide_o_mix who made the change originally (and didn't release it at the time :sad

          Tim Jacomb added a comment - porkrines42 does configuring the option work for you? as the previous user said it didn't work for them cc slide_o_mix who made the change originally (and didn't release it at the time :sad

          Alex Earl added a comment -

          I don't even recall why this change was made...I think at the time most people were asking for LESS log output, so the change was put in. I didn't realize it didn't get released.

          Alex Earl added a comment - I don't even recall why this change was made...I think at the time most people were asking for LESS log output, so the change was put in. I didn't realize it didn't get released.

          Sorin Srbu added a comment -

          porkrines42

          Thank you!
          Turns out it wasn't the the verbose-setting in Manage Jenkins I found that had to checked.

          I now have verbose output even with the new plugin version, although I'm too happy having to check it on all my jobs.
           
           

          Sorin Srbu added a comment - porkrines42 Thank you! Turns out it wasn't the the verbose-setting in Manage Jenkins I found that had to checked. I now have verbose output even with the new plugin version, although I'm too happy having to check it on all my jobs.    

          For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues

          Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/79
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-64101%22

          (Note: this is an automated bulk comment)

          Gavin McDonald added a comment - For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/79 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-64101%22 (Note: this is an automated bulk comment)

          Closing ticket, please use the corresponding Github Issue as linked above.

          Gavin McDonald added a comment - Closing ticket, please use the corresponding Github Issue as linked above.

            Unassigned Unassigned
            malice00 Roland Asmann
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: