- 
    
New Feature
 - 
    Resolution: Unresolved
 - 
    
Minor
 - 
    None
 
It would be something like:
lock (resources: "my-res", timeout: 5) {
   [real work here]
}
So it tries to lock the resource and give up after 5 seconds.
- is related to
 - 
                    
JENKINS-48603 Add a 'nowait' option to the lockable resources plugin
-         
 - Open
 
 -         
 - 
                    
JENKINS-61502 Option to (abort,mark unstable, queue) if resouce(s) are unavailable.
-         
 - Open
 
 -