Skip to content

Commit 7c4cd3f

Browse files
Use jenkins.baseline to reduce bom update mistakes (#328)
1 parent 668294c commit 7c4cd3f

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
@@ -30,7 +30,9 @@
3030

3131
<properties>
3232
<changelist>999999-SNAPSHOT</changelist>
33-
<jenkins.version>2.361.4</jenkins.version>
33+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
34+
<jenkins.baseline>2.361</jenkins.baseline>
35+
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
3436
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
3537
</properties>
3638
<repositories>
@@ -49,7 +51,7 @@
4951
<dependencies>
5052
<dependency>
5153
<groupId>io.jenkins.tools.bom</groupId>
52-
<artifactId>bom-2.361.x</artifactId>
54+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
5355
<version>2102.v854b_fec19c92</version>
5456
<scope>import</scope>
5557
<type>pom</type>

0 commit comments

Comments
 (0)