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

SSH plugin not returning correct exit values

    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

          uresu uresu created issue -
          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
          edmund_wagner edmund_wagner made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s current [ 10162 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 142238 ] JNJira + In-Review [ 190034 ]
          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.
          ljader Łukasz Jąder made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: