Skip to content

Commit 1aec859

Browse files
Use jenkins.baseline to reduce bom update mistakes (#307)
1 parent c30d1b9 commit 1aec859

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
@@ -46,7 +46,9 @@
4646
</scm>
4747

4848
<properties>
49-
<jenkins.version>2.426</jenkins.version>
49+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
50+
<jenkins.baseline>2.426</jenkins.baseline>
51+
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
5052
<hpi.compatibleSinceVersion>2.0.0</hpi.compatibleSinceVersion>
5153
<spotless.check.skip>false</spotless.check.skip>
5254
</properties>
@@ -55,7 +57,7 @@
5557
<dependencies>
5658
<dependency>
5759
<groupId>io.jenkins.tools.bom</groupId>
58-
<artifactId>bom-2.426.x</artifactId>
60+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
5961
<version>2884.vc36b_64ce114a_</version>
6062
<type>pom</type>
6163
<scope>import</scope>

0 commit comments

Comments
 (0)