Skip to content

Commit 7050ad5

Browse files
Use jenkins.baseline to reduce bom update mistakes (#32)
1 parent 58bae5c commit 7050ad5

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
@@ -26,7 +26,9 @@
2626
<properties>
2727
<revision>1.12</revision>
2828
<changelist>-SNAPSHOT</changelist>
29-
<jenkins.version>2.361.4</jenkins.version>
29+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
30+
<jenkins.baseline>2.361</jenkins.baseline>
31+
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
3032
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
3133
</properties>
3234

@@ -54,7 +56,7 @@
5456
<dependencies>
5557
<dependency>
5658
<groupId>io.jenkins.tools.bom</groupId>
57-
<artifactId>bom-2.361.x</artifactId>
59+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
5860
<version>2102.v854b_fec19c92</version>
5961
<scope>import</scope>
6062
<type>pom</type>

0 commit comments

Comments
 (0)