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

issues in passing node parameter plugin in pipeline

    XMLWordPrintable

Details

    Description

      In pipeline it has to execute on multiple nodes parallel based on selection of node parameter possible nodes option.

      Used org.jvnet.jenkins.plugins.nodelabelparameter.NodeParameterValue('UPSTREAM_NODE', '', 'EQA') it is executing only on one node, it should execute on all nodes defined in label.

       

      Based on the selection it should execute on all the selected nodes from the above picture.

       

      Attachments

        Activity

          rmahesh Mahesh Mohan added a comment -

          Any updates? Please look in to the issue ASAP.

          rmahesh Mahesh Mohan added a comment - Any updates? Please look in to the issue ASAP.
          mklement0 Michael Klement added a comment - - edited

          rmahesh: I'm only guessing myself, but it seems that the constructor you're calling invariably chooses only one node with that label, which makes sense, given that you're asking for a node name, not a label.

          The constructor you ultimately want to invoke - via the LabelParameterValue class - is this one: https://github.com/jenkinsci/nodelabelparameter-plugin/blob/ea0a822f3a09423eb32eee9d5496ce7a14b4a931/src/main/java/org/jvnet/jenkins/plugins/nodelabelparameter/LabelParameterValue.java#L69

          mklement0 Michael Klement added a comment - - edited rmahesh : I'm only guessing myself, but it seems that the constructor you're calling invariably chooses only one node with that label, which makes sense, given that you're asking for a node name , not a label . The constructor you ultimately want to invoke - via the LabelParameterValue class - is this one: https://github.com/jenkinsci/nodelabelparameter-plugin/blob/ea0a822f3a09423eb32eee9d5496ce7a14b4a931/src/main/java/org/jvnet/jenkins/plugins/nodelabelparameter/LabelParameterValue.java#L69

          People

            Unassigned Unassigned
            rmahesh Mahesh Mohan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: