Skip to content

Commit 798c155

Browse files
strangelookingnerdvjuranek
authored andcommitted
Use jenkins.baseline to reduce bom update mistakes
1 parent f389b3e commit 798c155

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
@@ -31,7 +31,9 @@
3131
<properties>
3232
<revision>2.13</revision>
3333
<changelist>-SNAPSHOT</changelist>
34-
<jenkins.version>2.387.3</jenkins.version>
34+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
35+
<jenkins.baseline>2.387</jenkins.baseline>
36+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
3537
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
3638
<!-- TODO fix violations -->
3739
<spotbugs.threshold>High</spotbugs.threshold>
@@ -41,7 +43,7 @@
4143
<dependencies>
4244
<dependency>
4345
<groupId>io.jenkins.tools.bom</groupId>
44-
<artifactId>bom-2.387.x</artifactId>
46+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
4547
<version>2465.va_e76ed7b_3061</version>
4648
<type>pom</type>
4749
<scope>import</scope>

0 commit comments

Comments
 (0)