jenkinsci / jenkinsci/lockable-resources-plugin

Feature request : deferred manual locking of resource by user

Open
#82 2 comments 1 reaction 0 assignees View on GitHub
API interactions new parameters/features Triage
Dominant language
Java
Stars
99
Forks
205
Avg merge
2d 13h
Merged PRs (30d)
8

Description

Users can click a button in Lockable Resources page on Jenkins to grab a resource. They can also "Unreserve+Reserve" a resource to take it away from a job that currently uses it - which can have adverse effects depending on that job's structure (e.g. calling sub-jobs using the same limited resource).

This feature proposes that there should be a way for users to request a resource (any by label, or specific by name) to be assigned to them after this resource is freed by its current consumer, as well as to cancel such pending requests.

The use-case is for example to schedule maintenance on hardware nodes of the test farm or validator postmortem investigation after failed tests (requesting a deferred lock of a specific device), or for developer use/experiments (deferred lock on any device with a label match).

Bonus points for notifications (IM, Mail) to the users when they are finally granted exclusive access to that resource - so they can begin working with it.

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.