Open mPokornyETM opened 10 months ago
NN
reserve resource A start this script
def stages = [:]; stages['A'] = { lock('A') { sleep 600 } } stages['B'] = { lock('A') { sleep 600 } } stages['B'] = { lock('A') { sleep 600 } }
parallel stages
and then kill / cancel the job
The queu is empty
Currently it might happens, that the lock is in queue after hard kill / or cancel
No response
as follow up from #558
Jenkins and plugins versions report
NN
What Operating System are you using (both controller, and any agents involved in the problem)?
NN
Reproduction steps
reserve resource A start this script
def stages = [:]; stages['A'] = { lock('A') { sleep 600 } } stages['B'] = { lock('A') { sleep 600 } } stages['B'] = { lock('A') { sleep 600 } }
parallel stages
and then kill / cancel the job
Expected Results
The queu is empty
Actual Results
Currently it might happens, that the lock is in queue after hard kill / or cancel
Anything else?
No response
Are you interested in contributing a fix?
No response