Skip to content

Commit e01208d

Browse files
Use jenkins.baseline to reduce bom update mistakes (#38)
1 parent 1ca7f47 commit e01208d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pom.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
3939

4040
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
41-
<jenkins.version>2.426.3</jenkins.version>
41+
<jenkins.baseline>2.426</jenkins.baseline>
42+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
4243
<maven.version>3.8.1</maven.version>
4344
<revision>1.0</revision>
4445
<spotless.check.skip>false</spotless.check.skip>
@@ -49,7 +50,7 @@
4950
<dependency>
5051
<!-- Pick up common dependencies for the selected LTS line: https://github.com/jenkinsci/bom#usage -->
5152
<groupId>io.jenkins.tools.bom</groupId>
52-
<artifactId>bom-2.426.x</artifactId>
53+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
5354
<version>2928.ved44ea_84e034</version>
5455
<type>pom</type>
5556
<scope>import</scope>

0 commit comments

Comments
 (0)