-
Bug
-
Resolution: Fixed
-
Major
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
[JENKINS-11966] SSH plugin not returning correct exit values
Fix Version/s | New: current [ 10162 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 142238 ] | New: JNJira + In-Review [ 190034 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |