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

Skips script when flagged to run when failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • postbuildscript-plugin
    • None
    • Jenkins ver. 2.109, PostBuildScript verions:
      2.6.0

      Example,
      In the Execute Scripts section, 

      there are two shell scripts in two different build steps.  The first one is in a post-build step that is only triggered when it is a status of Success. The second one is in a build step that is built no matter what (all highlighted).

      The 1st script fails for whatever reason, the 2nd one does not run even though it is in a separate build step and set to be built even on a failure. 

            dheid Daniel Heid
            mweiss427 Matthew Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: