Skip to content

Commit 392443c

Browse files
Use jenkins.baseline to reduce bom update mistakes (#51)
1 parent a47e83e commit 392443c

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
@@ -48,7 +48,9 @@
4848
<properties>
4949
<revision>1.17</revision>
5050
<changelist>-SNAPSHOT</changelist>
51-
<jenkins.version>2.361.4</jenkins.version>
51+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
52+
<jenkins.baseline>2.361</jenkins.baseline>
53+
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
5254
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
5355
<cargo.version>1.7.6</cargo.version>
5456
<deployment-client.version>5.1.0</deployment-client.version>
@@ -58,7 +60,7 @@
5860
<dependencies>
5961
<dependency>
6062
<groupId>io.jenkins.tools.bom</groupId>
61-
<artifactId>bom-2.361.x</artifactId>
63+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
6264
<version>2102.v854b_fec19c92</version>
6365
<scope>import</scope>
6466
<type>pom</type>

0 commit comments

Comments
 (0)