-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
I'd like to distinguish between shared and exclusive resources.
Example:
- exclusive lock: while a database is being rebuilt, all other jobs need to wait
- shared lock: after the database has been rebuilt, multiple can use it (i.e. to read data)
The current workaround is to use "flock" Linux shell command to achieve this, but this only works when everything runs on one node.
This has been suggested here JENKINS-1990 - but the locks-and-latches plugin seems to be dead. I also want this as part of the lockable-resource-plugin, as this supports the new pipeline syntax.