Log into your Jenkins web interface and go into 'Manage Jenkins' -> 'Manage Nodes', use the option on the left to add 'New Node'. Give the node a name, doesn't matter what, and choose the option 'Dumb Slave'; click 'ok'. Leave everything the way it is on the next page, you aren't going to do anything with this node, and click 'save'. This will enable the option to restrict where projects can run; this is only available if you have more than one node configured. Now go into each one of your jobs you are having a problem with and choose 'configure'. In the top section you will now see an option for 'Restrict where this project can be run'. Check that box and in the 'Label Expression' field type in 'master'. You should now see below that box 'Slaves in label: 1'. Click 'Save' on the that screen and that will fix the problem for that particular job. Leave the temporary node you added in case you need to add new polling jobs until this gets fixed.
- Mike On Thursday, April 24, 2014 2:51:44 AM UTC-4, sl...@dresearch-fe.de wrote: > > Am Mittwoch, 23. April 2014 20:32:36 UTC+2 schrieb Michael Beck: >> >> I had the same issue but found a workaround to fix it for now. I only >> have a few jobs so everything runs on my master node. For some reason the >> jobs that need to be submitted for polling won't succeed because they don't >> see any available nodes/slaves to run on, they're ignoring running on the >> master. I worked around this problem by adding a fake slave node in order >> to get the "Restrict where this project can be run" option back in >> configure on my jobs. I then had to set the label for each of those jobs to >> 'master' in order for polling to start working again. I'm also using >> mercurial:1.50 >> > > Can you give some detailed instructions for this workaround? I'm not > familiar with this nodes/slaves stuff. > > Thx > Steffen > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.