Skip to content

Commit 0ce7947

Browse files
Use jenkins.baseline to reduce bom update mistakes (#466)
1 parent 4c830bc commit 0ce7947

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pom.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131

3232
<properties>
3333
<changelist>999999-SNAPSHOT</changelist>
34-
<jenkins.version>2.440.3</jenkins.version>
34+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
35+
<jenkins.baseline>2.440</jenkins.baseline>
36+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
3537
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
3638
<spotless.check.skip>false</spotless.check.skip>
3739
<hpi.compatibleSinceVersion>685</hpi.compatibleSinceVersion>
@@ -43,7 +45,7 @@
4345
<dependencies>
4446
<dependency>
4547
<groupId>io.jenkins.tools.bom</groupId>
46-
<artifactId>bom-2.440.x</artifactId>
48+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
4749
<version>3289.v3ff9637cd241</version>
4850
<type>pom</type>
4951
<scope>import</scope>

0 commit comments

Comments
 (0)