Skip to content

Commit fc82a8f

Browse files
authored
Merge pull request #249 from strangelookingnerd/patch-1
Use `jenkins.baseline` to reduce bom update mistakes
2 parents d8da04f + 5fc9be8 commit fc82a8f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
<revision>2</revision>
3232
<changelist>999999-SNAPSHOT</changelist>
3333
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
34-
<jenkins.version>2.479.1</jenkins.version>
34+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
35+
<jenkins.baseline>2.479</jenkins.baseline>
36+
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
3537
<!-- Note: keep in sync with io.jenkins.tools.bom version below -->
3638
<spotbugs.effort>Max</spotbugs.effort>
3739
<spotbugs.threshold>Low</spotbugs.threshold>
@@ -41,7 +43,7 @@
4143
<dependencies>
4244
<dependency>
4345
<groupId>io.jenkins.tools.bom</groupId>
44-
<artifactId>bom-2.479.x</artifactId>
46+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
4547
<version>3875.v1df09947cde6</version>
4648
<scope>import</scope>
4749
<type>pom</type>

0 commit comments

Comments
 (0)