jenkinsci / jenkinsci/lockable-resources-plugin
[JENKINS-49004] per folder lockable-resources
- Dominant language
- Java
- Stars
- 99
- Forks
- 205
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 8
Description
Currently lockable-resources are defined globally by a Jenkins admin with a globally unique name, can be used by any job anywhere, and have global permissions to reserve/unlock, however this does not scale well to large deployments.
Following the examples of credentials and permissions, lockable-resources should be per folder, subject to folder permissions, and unique only within the folder. Only jobs in that folder should be able to use the lockable resource. Only users given permission at the folder level should be able to lock/unlock that specific resource. When that folder is deleted (end of project), those lockable resources should go away.
lockable resources should be per folder, not just global.
---
Originally reported by wgc123, imported from: per folder lockable-resources
Raw content of original issue
Currently lockable-resources are defined globally by a Jenkins admin with a globally unique name, can be used by any job anywhere, and have global permissions to reserve/unlock, however this does not scale well to large deployments.
Following the examples of credentials and permissions, lockable-resources should be per folder, subject to folder permissions, and unique only within the folder. Only jobs in that folder should be able to use the lockable resource. Only users given permission at the folder level should be able to lock/unlock that specific resource. When that folder is deleted (end of project), those lockable resources should go away.
lockable resources should be per folder, not just global.
Contributor guide
Assessment
This issue has not been assessed yet.