Skip to content

Commit 95d53fd

Browse files
Use jenkins.baseline to reduce bom update mistakes (#151)
1 parent ed61976 commit 95d53fd

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
@@ -15,7 +15,9 @@
1515
<url>https://github.com/jenkinsci/database-postgresql-plugin</url>
1616
<properties>
1717
<changelist>999999-SNAPSHOT</changelist>
18-
<jenkins.version>2.414.3</jenkins.version>
18+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
19+
<jenkins.baseline>2.414</jenkins.baseline>
20+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
1921
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
2022
<!-- Test dependencies version -->
2123
<testcontainer.version>1.20.4</testcontainer.version>
@@ -24,7 +26,7 @@
2426
<dependencies>
2527
<dependency>
2628
<groupId>io.jenkins.tools.bom</groupId>
27-
<artifactId>bom-2.414.x</artifactId>
29+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
2830
<version>2982.vdce2153031a_0</version>
2931
<type>pom</type>
3032
<scope>import</scope>

0 commit comments

Comments
 (0)