Skip to content

Commit dad27b8

Browse files
Use jenkins.baseline to reduce bom update mistakes (#224)
1 parent 78abe8d commit dad27b8

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
@@ -14,7 +14,9 @@
1414
<properties>
1515
<revision>1.28</revision>
1616
<changelist>-SNAPSHOT</changelist>
17-
<jenkins.version>2.387.3</jenkins.version>
17+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
18+
<jenkins.baseline>2.387</jenkins.baseline>
19+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
1820
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
1921
<node.version>8.17.0</node.version>
2022
<npm.version>6.13.4</npm.version>
@@ -58,7 +60,7 @@
5860
<dependencies>
5961
<dependency>
6062
<groupId>io.jenkins.tools.bom</groupId>
61-
<artifactId>bom-2.387.x</artifactId>
63+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
6264
<version>2543.vfb_1a_5fb_9496d</version>
6365
<scope>import</scope>
6466
<type>pom</type>

0 commit comments

Comments
 (0)