Skip to content

Commit 8fcdc8c

Browse files
authored
Merge pull request #150 from strangelookingnerd/patch-1
Use `jenkins.baseline` to reduce bom update mistakes
2 parents c34e592 + 55ba50b commit 8fcdc8c

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
@@ -13,7 +13,9 @@
1313
<url>https://github.com/jenkinsci/validating-string-parameter-plugin</url>
1414

1515
<properties>
16-
<jenkins.version>2.440.3</jenkins.version>
16+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
17+
<jenkins.baseline>2.440</jenkins.baseline>
18+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
1719
<changelist>999999-SNAPSHOT</changelist>
1820
</properties>
1921

@@ -75,7 +77,7 @@
7577
<dependencies>
7678
<dependency>
7779
<groupId>io.jenkins.tools.bom</groupId>
78-
<artifactId>bom-2.440.x</artifactId>
80+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
7981
<version>3435.v238d66a_043fb_</version>
8082
<scope>import</scope>
8183
<type>pom</type>

0 commit comments

Comments
 (0)