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

SSH Plugin : running remote script that returns non-zero value doesn't fail the build

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • plugin-proposals
    • None
    • AIX

      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.

      Cheers.
      Thanks for the great tools, everybody.

            kiy0taka kiy0taka
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: