Skip to content

Commit 95b6725

Browse files
authored
Merge pull request #234 from strangelookingnerd/patch-2
Use `jenkins.baseline` to reduce bom update mistakes
2 parents af966f4 + ff64962 commit 95b6725

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@
7171

7272
<properties>
7373
<changelist>999999-SNAPSHOT</changelist>
74-
<jenkins.version>2.440.3</jenkins.version>
74+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
75+
<jenkins.baseline>2.440</jenkins.baseline>
76+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
7577
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
7678
</properties>
7779

@@ -92,7 +94,7 @@
9294
<dependencies>
9395
<dependency>
9496
<groupId>io.jenkins.tools.bom</groupId>
95-
<artifactId>bom-2.440.x</artifactId>
97+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
9698
<!-- Last 2.426.x BOM version before a trilead api upgrade -->
9799
<!-- Trilead API upgrade breaks plugin compatibility tests due to poor handling of optional dependencies -->
98100
<!-- Do not change this without checking plugin BOM passes with new version -->

0 commit comments

Comments
 (0)