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

Add the option to run the script after all the sub elements of a matrix project build have finished

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hi,

      At the moment the Post Build Script plugin runs the chosen script at the end of each element of a matrix build project.

      Could we have options to:

      1) Run a script at the end of each element of a matrix build. This is the current functionality.
      2) Run a script at the end of a entire matrix build (ie. after all matrix elements have built).
      3) A combination of 1 and 2.

      My use case is I have a matrix project which builds all my different build configs then at the end of all builds (point 2 from above) I want to check all the generated files into source control in one go.

      Regards,
      Tom.

        Attachments

          Activity

          Hide
          kalpsat Kalps sat added a comment -

          My use case is to run a script from master head(reset/restart the slave) after each axe/node execution completed. Is it possible?

          Show
          kalpsat Kalps sat added a comment - My use case is to run a script from master head(reset/restart the slave) after each axe/node execution completed. Is it possible?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildScript.java
          http://jenkins-ci.org/commit/postbuildscript-plugin/754a85cb515de0f07de2cb186753ef789bd18c8e
          Log:
          [FIXED JENKINS-11219] don't run on MatrixAgregator

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildScript.java http://jenkins-ci.org/commit/postbuildscript-plugin/754a85cb515de0f07de2cb186753ef789bd18c8e Log: [FIXED JENKINS-11219] don't run on MatrixAgregator
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          src/main/java/org/jenkinsci/plugins/postbuildscript/ExecuteOn.java
          src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildScript.java
          src/main/resources/org/jenkinsci/plugins/postbuildscript/PostBuildScript/config.jelly
          http://jenkins-ci.org/commit/postbuildscript-plugin/be41840a7bfd24cbc4de5e71301b7dadc58b0648
          Log:
          JENKINS-11219 option to run postbuildscript on Matrix, Axes or Both (default)

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/org/jenkinsci/plugins/postbuildscript/ExecuteOn.java src/main/java/org/jenkinsci/plugins/postbuildscript/PostBuildScript.java src/main/resources/org/jenkinsci/plugins/postbuildscript/PostBuildScript/config.jelly http://jenkins-ci.org/commit/postbuildscript-plugin/be41840a7bfd24cbc4de5e71301b7dadc58b0648 Log: JENKINS-11219 option to run postbuildscript on Matrix, Axes or Both (default)
          Hide
          kalpsat Kalps sat added a comment -

          My use case is to run a script from master head(reset/restart the slave) after each axe/node execution completed. Is it possible?

          — is this support added as well?

          Show
          kalpsat Kalps sat added a comment - My use case is to run a script from master head(reset/restart the slave) after each axe/node execution completed. Is it possible? — is this support added as well?
          Hide
          gbois Gregory Boissinot added a comment -

          yes

          Show
          gbois Gregory Boissinot added a comment - yes

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              tfields Thomas Fields
            • Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: