jenkinsci / jenkinsci/lockable-resources-plugin

Consistent lock acquired message

Open
#154 0 comments 0 reactions 0 assignees View on GitHub
good first issue log messages Triage
Dominant language
Java
Stars
99
Forks
205
Avg merge
2d 13h
Merged PRs (30d)
8

Description

I've writing a python script that scrapes all the resource usage information from each build (I have a use-case similar to #141 ). I'm using the consoleText output for each job to determine which resources were locked. However, I've noticed the "lock acquired" console message differs between job types.

Freestyle jobs show the names of the resources that are locked.
_example console output:_

[lockable-resources] acquired lock on [server_1, client_1, other_1]

Pipeline jobs do not show the resource names.
_example console output:_

Lock acquired on [{Label: SERVER, Quantity: 1},{Label: CLIENT, Quantity: 1},{Label: OTHER, Quantity: 1},]

Would it be possible to make the "lock acquired" console message consistent between all job types and ensure the message includes the resource names?

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.