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
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
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') {