Using the SSH Plugin (https://wiki.jenkins-ci.org/display/JENKINS/SSH+plugin), running a remote script over ssh won't fail the build.
According to this thread, it seems like it could be normal that this doesn't fail the build since it's a pre-build task.
But for sure, it should at least be made clearer in the docs that failing remote command is not going to fail the jenkins build?
Better would be having an option to fail or not the build.
Thanks for the great tools, everybody.
|Field||Original Value||New Value|
|Component/s||plugin [ 15491 ]|
|Component/s||ssh-slaves [ 15578 ]|
|Assignee||Kohsuke Kawaguchi [ kohsuke ]||kiy0taka [ kiy0taka ]|
|Fix Version/s||current [ 10162 ]|
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Assignee||kiy0taka [ kiy0taka ]||Gwen George [ ggeorgea ]|
|Assignee||Gwen George [ ggeorgea ]||kiy0taka [ kiy0taka ]|
|Workflow||JNJira [ 139400 ]||JNJira + In-Review [ 188480 ]|