[JIRA] (JENKINS-50618) Provide information in the console about who owns a lock when waiting

3 views
Skip to first unread message

aburdajewicz@cloudbees.com (JIRA)

unread,
Apr 6, 2018, 1:34:03 AM4/6/18
to jenkinsc...@googlegroups.com
Allan BURDAJEWICZ created an issue
 
Jenkins / New Feature JENKINS-50618
Provide information in the console about who owns a lock when waiting
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: lockable-resources-plugin
Created: 2018-04-06 05:33
Priority: Minor Minor
Reporter: Allan BURDAJEWICZ

When a build is not able to acquire a lock, the only way to know what build is holding the lock is to go to the Lockable Resources manager screen. Also there could be several builds in the queue waiting in front of that build.

The console out put only provides information about the fact that the resources are not available:

Trying to acquire lock on [<resourceName>]
Found 0 available resource(s). Waiting for correct amount: 1.
[<resourceName>] is locked, waiting...

It would be great if the console output could provide information about what build(s) we are waiting for and/or how many builds we are waiting for.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

amuniz@cloudbees.com (JIRA)

unread,
Apr 17, 2018, 5:15:03 AM4/17/18
to jenkinsc...@googlegroups.com
Antonio Muñiz commented on New Feature JENKINS-50618
 
Re: Provide information in the console about who owns a lock when waiting

This could cause a security issue: users would be aware of Job names which they could not even have read/discover permission on. That's why current locks status is shown to admins only in a separated page.

amuniz@cloudbees.com (JIRA)

unread,
May 2, 2018, 7:22:08 AM5/2/18
to jenkinsc...@googlegroups.com
Antonio Muñiz edited a comment on New Feature JENKINS-50618
This could cause a security issue: users would be aware of able to know about Job names which they could do not even have read/discover permission on. That's why current locks status is shown to admins only in a separated page.

tobias-jenkins@23.gs (JIRA)

unread,
Oct 12, 2019, 5:05:04 AM10/12/19
to jenkinsc...@googlegroups.com
Tobias Gruetzmacher resolved as Fixed
 

This is now fixed (for better or worse) in 2.6 - I didn't think about the information disclosure issue, will discuss with contributors...

Change By: Tobias Gruetzmacher
Status: Open Resolved
Assignee: Tobias Gruetzmacher
Resolution: Fixed
Released As: https://github.com/jenkinsci/lockable-resources-plugin/releases/tag/lockable-resources-2.6
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages