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

NodeLabel vs Rebuild plugin - (pending—Waiting for next available executor)

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When using the multi-job plugin to instruct a child job to run on a specified node, the child job cannot be rebuilt using the rebuild plugin.

      When the job is rebuilt, the value of the NodeChoice field is populated on the screen however this is not read in by the NodeLabel plugin. The job then hangs in the queue with the status "(pending—Waiting for next available executor)".

      If the child job is built directly without a parent job, the rebuild successfully reads the Node label and then runs on the given node.

      Looking at the difference in the HTML, the input field for the node choice has a differing name on scendario 1 against scenario two:

      Scenario 1 (failed):

      <input name="label" value="" class="setting-input   " type="text">
      

      Scenario 2 (successful):

      <input name="labels" value="" class="setting-input   " type="text">
      

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: imod
          Path:
          src/main/java/org/jvnet/jenkins/plugins/nodelabelparameter/NodeParameterDefinition.java
          http://jenkins-ci.org/commit/nodelabelparameter-plugin/2f943a16d1f55f1f6eb328a34ef348c69db3b800
          Log:
          JENKINS-28374 add comment about issue

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: imod Path: src/main/java/org/jvnet/jenkins/plugins/nodelabelparameter/NodeParameterDefinition.java http://jenkins-ci.org/commit/nodelabelparameter-plugin/2f943a16d1f55f1f6eb328a34ef348c69db3b800 Log: JENKINS-28374 add comment about issue
          Hide
          domi Dominik Bartholdi added a comment -

          implemented with 1.6

          Show
          domi Dominik Bartholdi added a comment - implemented with 1.6

            People

            • Assignee:
              lrobertson39 Luke Robertson
              Reporter:
              lrobertson39 Luke Robertson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: