New functionality by groovy-shared library#457
New functionality by groovy-shared library#457mPokornyETM wants to merge 23 commits intojenkinsci:masterfrom mPokornyETM:shared-lib
Conversation
|
Hi @mPokornyETM, would be nice to have these features. Is there any plan on continuing this PR? |
Hi, which features exactly you need? |
|
My use case is the following: we need to disable branches from a multibranch pipeline on demand, but as that is not supported by Jenkins, we may go by the lock path, that is, skip the build if a resource is (manually) reserved. However, there is no visual indication whether that branch is locked or not in the jobs view, only on the resources page which is not immediate to notice. So I was thinking on adding a column to the jobs view (same as https://github.com/jenkinsci/extra-columns-plugin) showing if a lock is locked or not. I think this would require #207 to be implemented. Explaining this here made me thing that this may be already available from the Java point of view? |
maybe is this what you need see also: |
I don't think this is useful to me (for I wanted originally, maybe for a different column can be useful), as I need to show the state of a given lock, whether it is being using or not by any build. But looking at the code, I think I may use |
This PR extend plugin functionality in simple way and provide a solution for end-user with much more then one lock() step.
Fix #148
Fix #207
Fix #213
Fix #251
Fix #341
Fix #455
Fix #428
Fix #381
Close #253
Following PRs may closed by this changes.
Close #307
Testing done
Proposed upgrade guidelines
N/A
Localizations
Submitter checklist
@NoExternalUse. In case it is used by non java code theUsed by {@code <panel>.jelly}Javadocs are annotated.evalto ease the future introduction of Content Security Policy (CSP) directives (see documentation).Maintainer checklist
Before the changes are marked as
ready-for-merge:upgrade-guide-neededlabel is set and there is a Proposed upgrade guidelines section in the pull request title (see example).