Skip to content

Commit 993fede

Browse files
Use jenkins.baseline to reduce bom update mistakes (#104)
1 parent ce5bd9f commit 993fede

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
@@ -24,15 +24,17 @@
2424

2525
<properties>
2626
<changelist>999999-SNAPSHOT</changelist>
27-
<jenkins.version>2.414.1</jenkins.version>
27+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
28+
<jenkins.baseline>2.414</jenkins.baseline>
29+
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
2830
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
2931
</properties>
3032

3133
<dependencyManagement>
3234
<dependencies>
3335
<dependency>
3436
<groupId>io.jenkins.tools.bom</groupId>
35-
<artifactId>bom-2.375.x</artifactId>
37+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
3638
<version>2179.v0884e842b_859</version>
3739
<scope>import</scope>
3840
<type>pom</type>

0 commit comments

Comments
 (0)