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

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: plugin-proposals
    • Labels:
      None
    • Environment:
      AIX
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: