• 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. 

          [JENKINS-50799] Skips script when flagged to run when failing

          Daniel Heid added a comment -

          Thanks for reporting. I'll try to reproduce the problem.

          Daniel Heid added a comment - Thanks for reporting. I'll try to reproduce the problem.

          Code changed in jenkins
          User: Daniel Heid
          Path:
          README.md
          pom.xml
          src/main/java/org/jenkinsci/plugins/postbuildscript/processor/Processor.java
          http://jenkins-ci.org/commit/postbuildscript-plugin/f3e6270613524a8f6b1cdeae86fc854b02b78491
          Log:
          JENKINS-50799 Don't end script processing if any section failed

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Heid Path: README.md pom.xml src/main/java/org/jenkinsci/plugins/postbuildscript/processor/Processor.java http://jenkins-ci.org/commit/postbuildscript-plugin/f3e6270613524a8f6b1cdeae86fc854b02b78491 Log: JENKINS-50799 Don't end script processing if any section failed

          Daniel Heid added a comment -

          Okay, fixed it. Will be available in version 2.7.0 tomorrow. Thanks for improving the Jenkins PostBuildScript plugin!

          Daniel Heid added a comment - Okay, fixed it. Will be available in version 2.7.0 tomorrow. Thanks for improving the Jenkins PostBuildScript plugin!

          Matthew Weiss added a comment -

          Thank you for the speedy response! I'll be installing it today. 

           

          Matthew Weiss added a comment - Thank you for the speedy response! I'll be installing it today.   

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

              Created:
              Updated:
              Resolved: