Skip to content

Commit dcd3797

Browse files
authored
Define and use jenkins.baseline property (#212)
Avoid updates to jenkins.version that do not also update the Jenkins plugin bill of materials version. jenkinsci/archetypes#737 is the inspiration. Thanks @timja!
1 parent d8330d9 commit dcd3797

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
<revision>4.5.14</revision>
4646
<changelist>999999-SNAPSHOT</changelist>
4747
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
48-
<jenkins.version>2.401.3</jenkins.version>
48+
<jenkins.baseline>2.401</jenkins.baseline>
49+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
4950
<httpcore.version>4.4.16</httpcore.version>
5051
<httpclient.version>${revision}</httpclient.version>
5152
<httpasyncclient.version>4.1.5</httpasyncclient.version>
@@ -58,7 +59,7 @@
5859
<dependencies>
5960
<dependency>
6061
<groupId>io.jenkins.tools.bom</groupId>
61-
<artifactId>bom-2.401.x</artifactId>
62+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
6263
<version>2745.vc7b_fe4c876fa_</version>
6364
<type>pom</type>
6465
<scope>import</scope>

0 commit comments

Comments
 (0)