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

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

    XMLWordPrintable

Details

    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

          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

          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

            Unassigned Unassigned
            yang928 Yang Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: