jenkinsci / jenkinsci/lockable-resources-plugin

[JENKINS-49004] per folder lockable-resources

Open
#901 2 comments 0 reactions 0 assignees View on GitHub
component:lockable-resources-plugin imported-jira-issue priority:minor resolution:unresolved Triage
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


  • status: Open
  • priority: Minor
  • component(s): lockable-resources-plugin
  • resolution: Unresolved
  • votes: 8
  • watchers: 7
  • imported: 20251217-081411

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.