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

Environment Script should be able to run only on the 'master' Matrix Build task

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It should be possible to only run the environment script on the 'master' (flyweight) job of a matrix build, and have the variables propagate to the combination jobs.

        Attachments

          Activity

          jorgenpt Jørgen Tjernø created issue -
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Jørgen P. Tjernø
          Path:
          src/main/java/com/lookout/jenkins/EnvironmentScript.java
          src/main/java/com/lookout/jenkins/PersistedEnvironment.java
          src/main/resources/com/lookout/jenkins/EnvironmentScript/config.jelly
          src/test/java/com/lookout/jenkins/CountBuilder.java
          src/test/java/com/lookout/jenkins/EnvironmentScriptMatrixTest.java
          src/test/java/com/lookout/jenkins/EnvironmentScriptTest.java
          http://jenkins-ci.org/commit/environment-script-plugin/59b67f5a6a2ed088d70f19f70ea4233d4841d10f
          Log:
          JENKINS-14701 Thorough Matrix support.

          This allows you to only run the script once - on the parent job,
          before the "configuration" builds are run. This is supported through a
          new checkbox in the configuration UI.

          Compare: https://github.com/jenkinsci/environment-script-plugin/compare/272de430a961...59b67f5a6a2e

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jørgen P. Tjernø Path: src/main/java/com/lookout/jenkins/EnvironmentScript.java src/main/java/com/lookout/jenkins/PersistedEnvironment.java src/main/resources/com/lookout/jenkins/EnvironmentScript/config.jelly src/test/java/com/lookout/jenkins/CountBuilder.java src/test/java/com/lookout/jenkins/EnvironmentScriptMatrixTest.java src/test/java/com/lookout/jenkins/EnvironmentScriptTest.java http://jenkins-ci.org/commit/environment-script-plugin/59b67f5a6a2ed088d70f19f70ea4233d4841d10f Log: JENKINS-14701 Thorough Matrix support. This allows you to only run the script once - on the parent job, before the "configuration" builds are run. This is supported through a new checkbox in the configuration UI. Compare: https://github.com/jenkinsci/environment-script-plugin/compare/272de430a961...59b67f5a6a2e
          Hide
          jorgenpt Jørgen Tjernø added a comment -

          Added this feature in 1.1, which was just released.

          Show
          jorgenpt Jørgen Tjernø added a comment - Added this feature in 1.1, which was just released.
          jorgenpt Jørgen Tjernø made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          jorgenpt Jørgen Tjernø made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 145397 ] JNJira + In-Review [ 206037 ]

            People

            • Assignee:
              jorgenpt Jørgen Tjernø
              Reporter:
              jorgenpt Jørgen Tjernø
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: