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

          lrobertson39 Luke Robertson created issue -
          domi Dominik Bartholdi made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 163212 ] JNJira + In-Review [ 197137 ]

            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: