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

Fail to get selected Node, ${NODE_NODE} is empty

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We use the node label parameter plugin to pass the name of the node selected to another plugin "Active Choices Plugin" that's replying on UI elements change, but when I use ${NODE_NAME} as reference parameters, it didn't work, looks like it didn't response the value selected from Node drop down list. ${NODE_NAME} is empty before build, the value filled until it start to build. I can find ${NODE_NAME} in environment variable. is it possible to auto response the value of drop down list dynamically? or am I using wrong UI element as reference parameters, but I did try with name "nodes" of Node definition. it didn't work neither.

      BTW, I was using "Disallow multi node selection when triggering build manually" to get single DDL.

        Attachments

          Activity

          Hide
          yang928 Yang Li added a comment -

          What I want to achieve is like gif, with Node drop down list instead of using "States"
          https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin

          Show
          yang928 Yang Li added a comment - What I want to achieve is like gif, with Node drop down list instead of using "States" https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin

            People

            Assignee:
            domi Dominik Bartholdi
            Reporter:
            yang928 Yang Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: