Jenkins queue and pipeline job - check node availability before build starts

2019-03-06 Thread Den Slobozhanskyi
Hi Jenkins people, *TL;DR:* is there any way to queue pipeline job if there are no executors available on the given node without actually starting a build, like I can do with freestyle job and "Restrict where this project can be run" option or throttling plugin? *Long story:* I have recently

Re: How to prevent concurrent execution of jobs on the same node, but allow a few parallel steps execution?

2019-01-31 Thread Den Slobozhanskyi
> use "throttle" in pipeline options. > > On Wednesday, January 30, 2019 at 7:47:20 PM UTC+2, Den Slobozhanskyi > wrote: >> >> Just to clarify - does it mean that Throttling plugin throttles not the >> job as a whole, but each step in parallel? My assumption was

Re: How to prevent concurrent execution of jobs on the same node, but allow a few parallel steps execution?

2019-01-30 Thread Den Slobozhanskyi
Just to clarify - does it mean that Throttling plugin throttles not the job as a whole, but each step in parallel? My assumption was that throttling is only for the job, and nested threads have nothing to do with throttle. By your words it looks like setting throttling to "1" for the job reduce