-
New Feature
-
Resolution: Unresolved
-
Major
-
None
We have a limit on the number of licenses we can use concurrently. Before pipeline as code we could use the throttle to limit the number of jobs to 16.
With pipeline as code and 2.0 of the plugin we cannot limit jobs unless we create the jobs and trigger in parallel.
Is there any intention to make the lateste plugin work in the same way as before without having to do parallel jobs
Hi Robert,
I do not exactly understand what's wrong with the current implementation. throttle() step works well without Parallel, e.g. the following sample works well:
throttle(['test_2']) {
node() {
sh "sleep 500"
echo "Done"
}
}
The thing is that the Pipeline actually starts, but node() step will synchronize on the category