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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          zerthimon 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.

          Show
          zerthimon 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.
          Hide
          kbaltrinic 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)

          Show
          kbaltrinic 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)
          Hide
          nittanymountain David D added a comment -

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

          Show
          nittanymountain David D added a comment - +1 really need to be able to execute different scripts in case failure or success.
          Hide
          rashley 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.

          Show
          rashley 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.
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: