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

SSH plugin not returning correct exit values

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When using ssh, return values are not properly sent back from the remote system, even if the command returns a non zero value, the build is marked as a SUCCESS. If however, you use 'execute shell script' and perform the same task by issuing a remote command using (ssh -t) the correct value is returned to Jenkins.

      There was a discussion on this issue here :
      http://jenkins.361315.n4.nabble.com/Correct-exit-code-for-build-failure-td3305095.html

        Attachments

          Activity

          Hide
          edmund_wagner edmund_wagner added a comment -

          should be working since 1.3

          Show
          edmund_wagner edmund_wagner added a comment - should be working since 1.3
          Hide
          ljader Łukasz Jąder added a comment -

          It works in current plugin version.

          Show
          ljader Łukasz Jąder added a comment - It works in current plugin version.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            uresu uresu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: