Skip to content

Commit 6c7f990

Browse files
Use jenkins.baseline to reduce bom update mistakes (#101)
1 parent 2764a34 commit 6c7f990

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
@@ -14,7 +14,9 @@
1414
<packaging>hpi</packaging>
1515
<properties>
1616
<changelist>999999-SNAPSHOT</changelist>
17-
<jenkins.version>2.263.1</jenkins.version>
17+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
18+
<jenkins.baseline>2.263</jenkins.baseline>
19+
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
1820
<java.level>8</java.level>
1921
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
2022
<git-code-format-maven-plugin.version>4.3</git-code-format-maven-plugin.version>
@@ -26,7 +28,7 @@
2628
<dependencies>
2729
<dependency>
2830
<groupId>io.jenkins.tools.bom</groupId>
29-
<artifactId>bom-2.263.x</artifactId>
31+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
3032
<version>961.vf0c9f6f59827</version>
3133
<scope>import</scope>
3234
<type>pom</type>

0 commit comments

Comments
 (0)