Re: Trying to figure out how to add Workflow step support for Throttle Concurrent Builds...

2015-12-17 Thread Jesse Glick
Complicated question. `node` blocks do create `Task`s which are fed to the `Queue`. There is not currently any way to decorate the resulting `Queue.Item`s with `Action`s, which you would need to do what you are attempting. But do you really need to throttle individual blocks? If not, look for the

Re: Trying to figure out how to add Workflow step support for Throttle Concurrent Builds...

2015-12-14 Thread 'Robert Sandell' via Jenkins Developers
The stage step has a concurrency attribute (a.k.a. the James Nord Operator) perhaps diving into how that works could give you some insight. /B On Sun, Dec 13, 2015 at 8:57 PM, Andrew Bayer wrote: > So, https://issues.jenkins-ci.org/browse/JENKINS-31801 - I'm starting to

Trying to figure out how to add Workflow step support for Throttle Concurrent Builds...

2015-12-13 Thread Andrew Bayer
So, https://issues.jenkins-ci.org/browse/JENKINS-31801 - I'm starting to dive into the Workflow code to figure out how to actually *do* this. I'm only really concerned with adding category throttling support for Workflow node blocks - i.e., wrap your node block with "throttle('some-category') {