Skip to content

Commit cb968d8

Browse files
chore(deps): bump org.jenkins-ci.plugins:plugin from 5.2102.v5f5fe09fccf1 to 6.2152.ve00a_731c3ce9 (#1006)
* chore(deps): bump org.jenkins-ci.plugins:plugin Bumps [org.jenkins-ci.plugins:plugin](https://github.com/jenkinsci/plugin-pom) from 5.2102.v5f5fe09fccf1 to 6.2152.ve00a_731c3ce9. - [Release notes](https://github.com/jenkinsci/plugin-pom/releases) - [Changelog](https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md) - [Commits](https://github.com/jenkinsci/plugin-pom/commits) --- updated-dependencies: - dependency-name: org.jenkins-ci.plugins:plugin dependency-version: 6.2152.ve00a_731c3ce9 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Fix duplicate properties keys and spotless formatting Remove duplicate resource.status.* keys in tableQueue/table.properties that cause InjectedTest.testProperties failure with plugin-pom 6.x. Apply spotless formatting fix to LockStepExecution.java. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Pokorny <[email protected]>
1 parent b069f1f commit cb968d8

3 files changed

Lines changed: 4 additions & 13 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.jenkins-ci.plugins</groupId>
77
<artifactId>plugin</artifactId>
8-
<version>5.2102.v5f5fe09fccf1</version>
8+
<version>6.2152.ve00a_731c3ce9</version>
99
<relativePath />
1010
</parent>
1111

src/main/java/org/jenkins/plugins/lockableresources/LockStepExecution.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ public static void proceed(
205205
context.newBodyInvoker().withCallback(new Callback(resourceNames, resourceDescription));
206206
if (variable != null && !variable.isEmpty()) {
207207
// set the variable for the duration of the block
208-
bodyInvoker.withContext(
209-
EnvironmentExpander.merge(context.get(EnvironmentExpander.class), new EnvironmentExpander() {
208+
bodyInvoker.withContext(EnvironmentExpander.merge(
209+
context.get(EnvironmentExpander.class), new EnvironmentExpander() {
210210
private static final long serialVersionUID = -3431466225193397896L;
211211

212212
@Override

src/main/resources/org/jenkins/plugins/lockableresources/actions/LockableResourcesRootAction/tableQueue/table.properties

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,11 @@ queue.table.column.action=Action
4040
queue.table.column.id=Queue ID
4141

4242
#status
43-
resource.status.free=<strong>FREE</strong>
44-
resource.status.locked=<strong>LOCKED</strong> by <a class="jenkins-table__link model-link jenkins-table__badge" href="{0}">{1}</a>
45-
resource.status.reservedBy=<strong>RESERVED</strong> by <strong>{0}</strong>
46-
resource.status.queuedBy=<strong>QUEUED</strong> by {0} {1}
47-
ago={0} ago
48-
label.requiredNumber={0} label(s) are required.
49-
label.requiredAll=All possible labels are required.
50-
label.status=Found {1} free resource(s) from {0} possible.
51-
52-
5343
resource.status.locked=<strong class="jenkins-!-warning-color">Locked</strong> by <a class="jenkins-table__link model-link jenkins-table__badge" href="{0}">{1}</a>
5444
resource.status.reservedBy=<strong class="jenkins-!-destructive-color">Reserved</strong> by <strong>{0}</strong>
5545
resource.status.queuedBy=<strong class="jenkins-!-warning-color">Queued</strong> by {0} {1}
5646
resource.status.free=<strong>Free</strong>
47+
ago={0} ago
5748
label.requiredNumber=Requested <strong>{0}</strong> label(s).
5849
label.requiredAll=Requested <strong class="jenkins-!-warning-color">ALL</strong> possible labels.
5950
label.status=<br>There are {1} resource(s) matched, but only {0} free.

0 commit comments

Comments
 (0)