Skip to content

Commit c22bcaf

Browse files
Use jenkins.baseline to reduce bom update mistakes (#157)
1 parent 6b646c9 commit c22bcaf

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
@@ -33,7 +33,9 @@
3333
<properties>
3434
<changelist>999999-SNAPSHOT</changelist>
3535
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
36-
<jenkins.version>2.387.3</jenkins.version>
36+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
37+
<jenkins.baseline>2.387</jenkins.baseline>
38+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
3739
</properties>
3840

3941
<repositories>
@@ -154,7 +156,7 @@
154156
<dependencies>
155157
<dependency>
156158
<groupId>io.jenkins.tools.bom</groupId>
157-
<artifactId>bom-2.387.x</artifactId>
159+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
158160
<version>2543.vfb_1a_5fb_9496d</version>
159161
<scope>import</scope>
160162
<type>pom</type>

0 commit comments

Comments
 (0)