Skip to content

Commit a08e0bc

Browse files
Use jenkins.baseline to reduce bom update mistakes (#80)
1 parent e980388 commit a08e0bc

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
@@ -37,7 +37,9 @@
3737
</developers>
3838

3939
<properties>
40-
<jenkins.version>2.414.3</jenkins.version>
40+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
41+
<jenkins.baseline>2.414</jenkins.baseline>
42+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
4143
</properties>
4244

4345
<scm>
@@ -50,7 +52,7 @@
5052
<dependencies>
5153
<dependency>
5254
<groupId>io.jenkins.tools.bom</groupId>
53-
<artifactId>bom-2.414.x</artifactId>
55+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
5456
<version>2982.vdce2153031a_0</version>
5557
<scope>import</scope>
5658
<type>pom</type>

0 commit comments

Comments
 (0)