Skip to content

Commit 030ff21

Browse files
strangelookingnerdsghill
authored andcommitted
Use jenkins.baseline to reduce bom update mistakes
1 parent 6d49910 commit 030ff21

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
<properties>
1111
<revision>1</revision>
1212
<changelist>999999-SNAPSHOT</changelist>
13-
<!-- Baseline Jenkins version you use to build the plugin. Users must have this version or newer to run. -->
14-
<jenkins.version>2.440.3</jenkins.version>
13+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
14+
<jenkins.baseline>2.440</jenkins.baseline>
15+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
1516
<hpi.compatibleSinceVersion>1.9</hpi.compatibleSinceVersion>
1617
</properties>
1718
<artifactId>stashNotifier</artifactId>
@@ -80,7 +81,7 @@
8081
<dependencies>
8182
<dependency>
8283
<groupId>io.jenkins.tools.bom</groupId>
83-
<artifactId>bom-2.440.x</artifactId>
84+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
8485
<version>3387.v0f2773fa_3200</version>
8586
<scope>import</scope>
8687
<type>pom</type>

0 commit comments

Comments
 (0)