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

Allow multiple instances of Post Build Scripts as a post build action

      The Post Build scripts has the capability to run on axes or matrix for script steps post build. However, if a build process has a need for post build scripts that run on the axes, plus different build scripts that have to run on the matrix, there is currently no capability to allow for both conditions.

          [JENKINS-30011] Allow multiple instances of Post Build Scripts as a post build action

          +1

          I'd like to be able to run different post build script for failed and successfull result of a job, so please allow configuring multiple instances of post build scripts.

          Lior Goikhburg added a comment - +1 I'd like to be able to run different post build script for failed and successfull result of a job, so please allow configuring multiple instances of post build scripts.

          Kenneth Baltrinic added a comment - - edited

          Agreed, we need to run one set of scripts on failure and another on success. Another solution would be to make the failure/success status of the job available to the script. (In our case powershell scripts)

          Kenneth Baltrinic added a comment - - edited Agreed, we need to run one set of scripts on failure and another on success. Another solution would be to make the failure/success status of the job available to the script. (In our case powershell scripts)

          David D added a comment -

          +1
          really need to be able to execute different scripts in case failure or success.

          David D added a comment - +1 really need to be able to execute different scripts in case failure or success.

          Ryan Ashley added a comment -

          +1

          I could not agree more. We definitely need a the ability to do X on success and Y on failure.

          Ryan Ashley added a comment - +1 I could not agree more. We definitely need a the ability to do X on success and Y on failure.

          Code changed in jenkins
          User: Daniel Heid
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/postbuildscript/GenericScript.java
          src/main/java/org/jenkinsci/plugins/postbuildscript/GroovyScript.java
          src/main/java/org/jenkinsci/plugins/postbuildscript/GroovyScriptContent.java
          src/main/java/org/jenkinsci/plugins/postbuildscript/GroovyScriptFile.java
          src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildItem.java
          src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildScript.java
          src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildStep.java
          src/main/resources/org/jenkinsci/plugins/postbuildscript/PostBuildScript/config.jelly
          http://jenkins-ci.org/commit/postbuildscript-plugin/18e7d7c945a7243d0ac79ae0d8dbdc60d6a6f1c9
          Log:
          JENKINS-30011 Allow multiple instances of Post Build Scripts as a post build action

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Heid Path: pom.xml src/main/java/org/jenkinsci/plugins/postbuildscript/GenericScript.java src/main/java/org/jenkinsci/plugins/postbuildscript/GroovyScript.java src/main/java/org/jenkinsci/plugins/postbuildscript/GroovyScriptContent.java src/main/java/org/jenkinsci/plugins/postbuildscript/GroovyScriptFile.java src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildItem.java src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildScript.java src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildStep.java src/main/resources/org/jenkinsci/plugins/postbuildscript/PostBuildScript/config.jelly http://jenkins-ci.org/commit/postbuildscript-plugin/18e7d7c945a7243d0ac79ae0d8dbdc60d6a6f1c9 Log: JENKINS-30011 Allow multiple instances of Post Build Scripts as a post build action

          Code changed in jenkins
          User: Daniel Heid
          Path:
          src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildScript.java
          http://jenkins-ci.org/commit/postbuildscript-plugin/ed95df8dea55da86527afd0c6ed63742303f1279
          Log:
          JENKINS-30011 Allow multiple instances of Post Build Scripts as a post build action

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Heid Path: src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildScript.java http://jenkins-ci.org/commit/postbuildscript-plugin/ed95df8dea55da86527afd0c6ed63742303f1279 Log: JENKINS-30011 Allow multiple instances of Post Build Scripts as a post build action

            dheid Daniel Heid
            tmoore Tom Moore
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: