Skip to content

Commit 9f60329

Browse files
authored
Merge pull request #124 from strangelookingnerd/patch-1
Use `jenkins.baseline` to reduce bom update mistakes
2 parents 7ba1d8f + 06afd38 commit 9f60329

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
<properties>
1818
<changelist>999999-SNAPSHOT</changelist>
1919
<gitHubRepo>jenkinsci/database-mysql-plugin</gitHubRepo>
20-
<jenkins.version>2.414.3</jenkins.version>
20+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
21+
<jenkins.baseline>2.414</jenkins.baseline>
22+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
2123

2224
<!-- Test dependencies version -->
2325
<testcontainer.version>1.20.4</testcontainer.version>
@@ -35,7 +37,7 @@
3537
<dependencies>
3638
<dependency>
3739
<groupId>io.jenkins.tools.bom</groupId>
38-
<artifactId>bom-2.414.x</artifactId>
40+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
3941
<version>2982.vdce2153031a_0</version>
4042
<scope>import</scope>
4143
<type>pom</type>

0 commit comments

Comments
 (0)