jenkinsci / lockable-resources-plugin

Lock resources against concurrent use
https://plugins.jenkins.io/lockable-resources
MIT License
87 stars 185 forks source link

Groovy Expression for pipeline #107

Open pawozakwa opened 6 years ago

pawozakwa commented 6 years ago

I would like to use this plugin in some more advanced scenarios. For example

I would be able to handle every case with groovy expression for lock block.

tomasbjerre commented 4 years ago

The retry part of this issue would be implemented with #185 and #184. You could use the skipIfLocked option to try and lock the resource, if not successful sleep and try again.