Skip to content

Commit 94a26b4

Browse files
Use jenkins.baseline to reduce bom update mistakes (#82)
1 parent 6603a83 commit 94a26b4

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
@@ -16,7 +16,9 @@
1616
<properties>
1717
<revision>5.6.0</revision>
1818
<changelist>999999-SNAPSHOT</changelist>
19-
<jenkins.version>2.361.4</jenkins.version>
19+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
20+
<jenkins.baseline>2.361</jenkins.baseline>
21+
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
2022
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
2123
</properties>
2224

@@ -56,7 +58,7 @@
5658
<dependencies>
5759
<dependency>
5860
<groupId>io.jenkins.tools.bom</groupId>
59-
<artifactId>bom-2.361.x</artifactId>
61+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
6062
<version>2102.v854b_fec19c92</version>
6163
<type>pom</type>
6264
<scope>import</scope>

0 commit comments

Comments
 (0)