jenkinsci / jenkinsci/lockable-resources-plugin
Pass acquired lock from pipeline job to freestyle job called by build_job
- Dominant language
- Java
- Stars
- 99
- Forks
- 205
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 8
Description
### What feature do you want to see added?
We have some freestyle jobs I would like to add resource locking around to cover when they are called directly, but we also have some pipeline jobs that do more complicated work and call these freestyle jobs a number of times. I would like to be able to lock the resource in the pipeline job and then "pass" that lock to the freestyle job when it is called without releasing it. Otherwise, is there some way of conditionally locking a resource in a freestyle job (groovy or otherwise) in which case I could pass a parameter that says don't try and lock.
### Upstream changes
_No response_
### Are you interested in contributing this feature?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.