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

Values passed via Parameterized Trigger Plugin are ignored by NodeLabel Parameter Plugin

    Details

    • Similar Issues:

      Description

      Configuring a node parameter with name "node" a default value and some possible nodes everything seems fine when you start that job manually by selecting a node.

      When you try to trigger that job from another one by passing a parameter via Parameterized Trigger Plugin with node=<OnePossibleNode> the node specified has no effect.

        Attachments

          Activity

          compi Maik Richey created issue -
          Hide
          compi Maik Richey added a comment -


          This may be caused by a problem with the Parameterized Trigger Plugin and Jenkins 1.417. See JENKINS-10101?!?

          Show
          compi Maik Richey added a comment - This may be caused by a problem with the Parameterized Trigger Plugin and Jenkins 1.417. See JENKINS-10101 ?!?
          domi Dominik Bartholdi made changes -
          Field Original Value New Value
          Assignee domi [ domi ]
          Hide
          domi Dominik Bartholdi added a comment - - edited

          Maik, I must say, that I have never used the 'Parameterized trigger plugin' so I have to take a look at it first...

          Show
          domi Dominik Bartholdi added a comment - - edited Maik, I must say, that I have never used the 'Parameterized trigger plugin' so I have to take a look at it first...
          Hide
          compi Maik Richey added a comment -

          That would be great! I tried to trigger a build of a project B from the execution of project A using the Parameterized Trigger Plugin. Project A uses the Parameterized Trigger Plugin. Project B uses the NodeLabel Parameter Plugin and defines a parameter "node" for defining the node the project should be build on.

          I expected that passing a parameter "node" from project A to project B the value for node, if valid, would be taken as the node the project should build on. But that doesn't work. The value passed to project B was ignored.

          If there is anything I can help you with, please let me know.

          Show
          compi Maik Richey added a comment - That would be great! I tried to trigger a build of a project B from the execution of project A using the Parameterized Trigger Plugin. Project A uses the Parameterized Trigger Plugin. Project B uses the NodeLabel Parameter Plugin and defines a parameter "node" for defining the node the project should be build on. I expected that passing a parameter "node" from project A to project B the value for node, if valid, would be taken as the node the project should build on. But that doesn't work. The value passed to project B was ignored. If there is anything I can help you with, please let me know.
          domi Dominik Bartholdi made changes -
          Description
          Configuring a node parameter with name "node" a default value and some possible nodes everything seems fine when you start that job manually by selecting a node.

          When you try to trigger that job from another one by passing a parameter via Parameterized Trigger Plugin with node=<OnePossibleNode> the node specified has no effect.
          Configuring a node parameter with name "node" a default value and some possible nodes everything seems fine when you start that job manually by selecting a node.

          When you try to trigger that job from another one by passing a parameter via Parameterized Trigger Plugin with node=<OnePossibleNode> the node specified has no effect.
          Component/s nodelabelparameter [ 15873 ]
          Component/s plugin [ 15491 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: imod
          Path:
          pom.xml
          src/main/java/org/jvnet/jenkins/plugins/nodelabelparameter/parameterizedtrigger/NodeLabelBuildParameter.java
          src/main/resources/org/jvnet/jenkins/plugins/nodelabelparameter/parameterizedtrigger/NodeLabelBuildParameter/config.jelly
          src/main/resources/org/jvnet/jenkins/plugins/nodelabelparameter/parameterizedtrigger/NodeLabelBuildParameter/help-name.html
          src/test/java/org/jvnet/jenkins/plugins/nodelabelparameter/parameterizedtrigger/NodeLabelBuildParameterTest.java
          http://jenkins-ci.org/commit/nodelabelparameter-plugin/f9a09c2399d8ae40178a879c1569d9cadf65ed90
          Log:
          JENKINS-10088 add new paramtype to param-triggerpl

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: imod Path: pom.xml src/main/java/org/jvnet/jenkins/plugins/nodelabelparameter/parameterizedtrigger/NodeLabelBuildParameter.java src/main/resources/org/jvnet/jenkins/plugins/nodelabelparameter/parameterizedtrigger/NodeLabelBuildParameter/config.jelly src/main/resources/org/jvnet/jenkins/plugins/nodelabelparameter/parameterizedtrigger/NodeLabelBuildParameter/help-name.html src/test/java/org/jvnet/jenkins/plugins/nodelabelparameter/parameterizedtrigger/NodeLabelBuildParameterTest.java http://jenkins-ci.org/commit/nodelabelparameter-plugin/f9a09c2399d8ae40178a879c1569d9cadf65ed90 Log: JENKINS-10088 add new paramtype to param-triggerpl
          Hide
          domi Dominik Bartholdi added a comment - - edited

          fixed/enhanced with version 0.1.2, please see new comment at: https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin

          Show
          domi Dominik Bartholdi added a comment - - edited fixed/enhanced with version 0.1.2, please see new comment at: https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin
          Hide
          domi Dominik Bartholdi added a comment - - edited

          added new parameter type to parameterized trigger plugin

          Show
          domi Dominik Bartholdi added a comment - - edited added new parameter type to parameterized trigger plugin
          domi Dominik Bartholdi made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 140276 ] JNJira + In-Review [ 188944 ]

            People

            • Assignee:
              domi Dominik Bartholdi
              Reporter:
              compi Maik Richey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: