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

Node selection option for a Lable configured Job

    XMLWordPrintable

Details

    Description

      want to have a new feature for Node selection when we run a job with parameters, For example, we have a Job which is configured NodeLable parameter called "devbuilds" which is having 10 nodes associated to it,that means the job can run concurrently on 10 nodes based on the availability of the nodes from Lable but sometime we want to run this job on a specific node out of 10 nodes for debugging the build issues, so we need to edit the Job
      config to run on a single node and run the job, this will be more time consuming process and all the dev team doesn't have the access to change the config,it would be nice if we have an option to switch between Lable and or Node before starting the Job.

      Attachments

        Activity

          danielbeck Daniel Beck added a comment -

          Issue description is very difficult to understand. Please try to use standard English grammar and punctuation, and fix that run-on sentence in the first paragraph.

          Issue appears to not a bug. Please explain in detail how this issue constitutes a bug in the NodeLabel parameter plugin.

          Note that if you're asking for assistance rather than reporting a bug, Jira is the wrong place to do so. Try the jenkinsci-users mailing list or #jenkins IRC channel on Freenode instead.

          danielbeck Daniel Beck added a comment - Issue description is very difficult to understand. Please try to use standard English grammar and punctuation, and fix that run-on sentence in the first paragraph. Issue appears to not a bug. Please explain in detail how this issue constitutes a bug in the NodeLabel parameter plugin. Note that if you're asking for assistance rather than reporting a bug, Jira is the wrong place to do so. Try the jenkinsci-users mailing list or #jenkins IRC channel on Freenode instead.
          danielbeck Daniel Beck added a comment -

          Given that a node's name serves as its so-called "self label", this seems redundant. Just enter the node name as label.

          Sure, you don't get a convenient dropdown selection box, but otherwise it's the same.

          danielbeck Daniel Beck added a comment - Given that a node's name serves as its so-called "self label", this seems redundant. Just enter the node name as label. Sure, you don't get a convenient dropdown selection box, but otherwise it's the same.
          prab prab t added a comment -

          Right,we have node name as label option which is hard coded in the Config section of the Job, but is there a way that you can decide to build on either label or specific node from the build parameters right before you kick off the build?

          prab prab t added a comment - Right,we have node name as label option which is hard coded in the Config section of the Job, but is there a way that you can decide to build on either label or specific node from the build parameters right before you kick off the build?
          danielbeck Daniel Beck added a comment -

          I don't understand the problem. Here, an example of what I mean:

          You have 3 nodes: "master", "foo" and "bar". "foo" and "bar" both have the label "slave".

          Your job parameter is a Label parameter. Its default value is "slave" so the job would build on "foo" or "bar".

          Now you want to select a specific slave instead of having Jenkins choose. You click "Build with Parameters" and enter the label "foo" which is the "foo" slave node's automatic self label. Then you click "Build".

          There's no need to change the job config for this build as you can just enter the slave name as label on "Build with Parameters" page.

          danielbeck Daniel Beck added a comment - I don't understand the problem. Here, an example of what I mean: You have 3 nodes: "master", "foo" and "bar". "foo" and "bar" both have the label "slave". Your job parameter is a Label parameter. Its default value is "slave" so the job would build on "foo" or "bar". Now you want to select a specific slave instead of having Jenkins choose. You click "Build with Parameters" and enter the label "foo" which is the "foo" slave node's automatic self label. Then you click "Build". There's no need to change the job config for this build as you can just enter the slave name as label on "Build with Parameters" page.

          People

            Unassigned Unassigned
            prab prab t
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: