Skip to content

Commit 5fb5ddb

Browse files
Use jenkins.baseline to reduce bom update mistakes
1 parent 6479d73 commit 5fb5ddb

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
@@ -67,7 +67,9 @@
6767

6868
<properties>
6969
<changelist>999999-SNAPSHOT</changelist>
70-
<jenkins.version>2.479.1</jenkins.version>
70+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
71+
<jenkins.baseline>2.479</jenkins.baseline>
72+
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
7173
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
7274
<spotless.check.skip>false</spotless.check.skip>
7375
</properties>
@@ -76,7 +78,7 @@
7678
<dependencies>
7779
<dependency>
7880
<groupId>io.jenkins.tools.bom</groupId>
79-
<artifactId>bom-2.479.x</artifactId>
81+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
8082
<version>3613.v584fca_12cf5c</version>
8183
<type>pom</type>
8284
<scope>import</scope>

0 commit comments

Comments
 (0)