Skip to content

Commit 6f78adb

Browse files
Use jenkins.baseline to reduce bom update mistakes (#135)
1 parent 9fa1b09 commit 6f78adb

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
@@ -17,7 +17,9 @@
1717

1818
<properties>
1919
<changelist>999999-SNAPSHOT</changelist>
20-
<jenkins.version>2.440.3</jenkins.version>
20+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
21+
<jenkins.baseline>2.440</jenkins.baseline>
22+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
2123
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
2224
</properties>
2325

@@ -40,7 +42,7 @@
4042
<dependencies>
4143
<dependency>
4244
<groupId>io.jenkins.tools.bom</groupId>
43-
<artifactId>bom-2.440.x</artifactId>
45+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
4446
<version>3234.v5ca_5154341ef</version>
4547
<scope>import</scope>
4648
<type>pom</type>

0 commit comments

Comments
 (0)