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

Define implicit parameter: "build on the same node"

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Define an implicit parameter that restricts the downstream jobs to run on the same computer. This is an implicit parameter, so it wouldn't require the downstream jobs to be parameterized.

        Attachments

          Activity

          Show
          cjo9900 cjo9900 added a comment - pull request https://github.com/jenkinsci/parameterized-trigger-plugin/pull/31
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: cjo9900
          Path:
          src/main/java/hudson/plugins/parameterizedtrigger/NodeAction.java
          src/main/java/hudson/plugins/parameterizedtrigger/NodeParameters.java
          src/main/resources/hudson/plugins/parameterizedtrigger/NodeAction/badge.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/NodeParameters/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/NodeParameters/help-current.html
          src/test/java/hudson/plugins/parameterizedtrigger/test/NodeParametersTest.java
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/1c15f7bc68c690dd0cab9ce05ec859bac0f3f05b
          Log:
          [FIXED JENKINS-16334] Add current node parameter

          Adds a current node parameter which forces the downstream builds
          to build on the same node as the triggering job.
          Will override any tie this job to node settings of the downstream job.
          Adds a build badge to indicate that a fixed node was used.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: cjo9900 Path: src/main/java/hudson/plugins/parameterizedtrigger/NodeAction.java src/main/java/hudson/plugins/parameterizedtrigger/NodeParameters.java src/main/resources/hudson/plugins/parameterizedtrigger/NodeAction/badge.jelly src/main/resources/hudson/plugins/parameterizedtrigger/NodeParameters/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/NodeParameters/help-current.html src/test/java/hudson/plugins/parameterizedtrigger/test/NodeParametersTest.java http://jenkins-ci.org/commit/parameterized-trigger-plugin/1c15f7bc68c690dd0cab9ce05ec859bac0f3f05b Log: [FIXED JENKINS-16334] Add current node parameter Adds a current node parameter which forces the downstream builds to build on the same node as the triggering job. Will override any tie this job to node settings of the downstream job. Adds a build badge to indicate that a fixed node was used.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: cjo9900
          Path:
          src/main/java/hudson/plugins/parameterizedtrigger/NodeAction.java
          src/main/java/hudson/plugins/parameterizedtrigger/NodeParameters.java
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/f0f493dfdf61a090f7109121db6613bf9363c70f
          Log:
          JENKINS-16334 Change to store label

          Get master label rather than fixed string

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: cjo9900 Path: src/main/java/hudson/plugins/parameterizedtrigger/NodeAction.java src/main/java/hudson/plugins/parameterizedtrigger/NodeParameters.java http://jenkins-ci.org/commit/parameterized-trigger-plugin/f0f493dfdf61a090f7109121db6613bf9363c70f Log: JENKINS-16334 Change to store label Get master label rather than fixed string
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: cjo9900
          Path:
          src/main/java/hudson/plugins/parameterizedtrigger/NodeAction.java
          src/main/java/hudson/plugins/parameterizedtrigger/NodeParameters.java
          src/main/resources/hudson/plugins/parameterizedtrigger/NodeAction/badge.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/NodeParameters/config.jelly
          src/main/resources/hudson/plugins/parameterizedtrigger/NodeParameters/help-current.html
          src/test/java/hudson/plugins/parameterizedtrigger/test/NodeParametersTest.java
          http://jenkins-ci.org/commit/parameterized-trigger-plugin/16c37c12ef4f62b52fd8089038e015f427a2b300
          Log:
          Merge branch 'JENKINS-16334' of git://github.com/cjo9900/parameterized-trigger-plugin into 2.17-RC

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: cjo9900 Path: src/main/java/hudson/plugins/parameterizedtrigger/NodeAction.java src/main/java/hudson/plugins/parameterizedtrigger/NodeParameters.java src/main/resources/hudson/plugins/parameterizedtrigger/NodeAction/badge.jelly src/main/resources/hudson/plugins/parameterizedtrigger/NodeParameters/config.jelly src/main/resources/hudson/plugins/parameterizedtrigger/NodeParameters/help-current.html src/test/java/hudson/plugins/parameterizedtrigger/test/NodeParametersTest.java http://jenkins-ci.org/commit/parameterized-trigger-plugin/16c37c12ef4f62b52fd8089038e015f427a2b300 Log: Merge branch ' JENKINS-16334 ' of git://github.com/cjo9900/parameterized-trigger-plugin into 2.17-RC

            People

            • Assignee:
              cjo9900 cjo9900
              Reporter:
              kohsuke Kohsuke Kawaguchi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: