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

NodeLabelParameter empty on rebuild of job initiated by Startup Trigger

      When rebuilding a job that was initiated by startup-trigger the Node Label Parameter is apparently not filled correctly. The job goes into queue with the message "pending - There are no nodes with the label ''"

      I haven't been able to verify this behavior in other scenarios, so it could be a problem with the Startup Trigger plugin, maybe something to do with the way it schedules the job?

          [JENKINS-38635] NodeLabelParameter empty on rebuild of job initiated by Startup Trigger

          Orgad Shaneh added a comment -

          I have this issue too, but with manual trigger.

          That is, I trigger a job manually with a label parameter, but rebuild doesn't preserve this parameter (which is mandatory in my case). All the other params are recovered correctly.

          Orgad Shaneh added a comment - I have this issue too, but with manual trigger. That is, I trigger a job manually with a label parameter, but rebuild doesn't preserve this parameter (which is mandatory in my case). All the other params are recovered correctly.

          Orgad Shaneh added a comment -

          And now I see there's an open PR for this: https://github.com/jenkinsci/rebuild-plugin/pull/30

          Can you please merge it?

          Orgad Shaneh added a comment - And now I see there's an open PR for this: https://github.com/jenkinsci/rebuild-plugin/pull/30 Can you please merge it?

          Neal Macdonald added a comment - - edited

          Same fail here from a 'Rebuild Last' click - Node parameter is blank. I'd be grateful if we can get rebuild-plugin rebuilt since 'Rebuild' with previous parameters is so useful

          Neal Macdonald added a comment - - edited Same fail here from a 'Rebuild Last' click - Node parameter is blank. I'd be grateful if we can get rebuild-plugin rebuilt since 'Rebuild' with previous parameters is so useful

          Emory Penney added a comment -

          I've had success with this: https://github.com/jenkinsci/rebuild-plugin/pull/45 Rebuilds seem to work correctly after changing the one .jelly file. Hopefully they'll accept the PR.

          Emory Penney added a comment - I've had success with this: https://github.com/jenkinsci/rebuild-plugin/pull/45 Rebuilds seem to work correctly after changing the one .jelly file. Hopefully they'll accept the PR.

          Neal Macdonald added a comment - - edited

          Node parameter is repopulated again on 'Rebuild Last' - Jenkins 2.45

          Neal Macdonald added a comment - - edited Node parameter is repopulated again on 'Rebuild Last' - Jenkins 2.45

          Gustaf Lundh added a comment -

          I have verified and merged ejpenney's PR here: https://github.com/jenkinsci/rebuild-plugin/pull/45

          Will issue a new release later this month.

           

          Gustaf Lundh added a comment - I have verified and merged  ejpenney 's PR here: https://github.com/jenkinsci/rebuild-plugin/pull/45 Will issue a new release later this month.  

            ejpenney Emory Penney
            ejpenney Emory Penney
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: