-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Trivial
-
Component/s: throttle-concurrent-builds-plugin
-
None
-
Environment:Jenkins: 2.462.1
throttle-concurrent-builds-plugin: 2.14
upstream job
def jobName = 'downstreamthrottle' build job: jobName, wait: false, parameters: [string(name: 'MASTER_RELEASE_STREAM', value: 'fs')] build job: jobName, wait: false
'downstreamthrottle' job
def pms = [string(name: 'MASTER_RELEASE_STREAM', defaultValue: '', description: 'Indicate current master development release branch')] properties([ Â Â Â Â throttleJobProperty( Â Â Â Â Â Â Â Â maxConcurrentPerNode: 0, Â Â Â Â Â Â Â Â maxConcurrentTotal: 1, Â Â Â Â Â Â Â Â throttleEnabled: true, Â Â Â Â Â Â Â Â throttleOption: 'project', Â Â Â Â ) ]) node { Â Â echo "runnig" Â Â sleep 10 }
The expected effect is that only 1 build of 'downstreamthrottle' job is allowed to run at one time.Â
The result is two builds of 'downstreamthrottle' job will run at the same time.