Skip to content

Commit f15c014

Browse files
authored
Merge pull request #625 from strangelookingnerd/patch-2
Use `jenkins.baseline` to reduce bom update mistakes
2 parents 8ba6ecc + bd8c6c2 commit f15c014

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pom.xml

+4-3
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,17 @@
5252
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
5353
<jira-rest-client.version>5.2.7</jira-rest-client.version>
5454
<fugue.version>4.7.2</fugue.version>
55-
<!-- jenkins -->
56-
<jenkins.version>2.479.3</jenkins.version>
55+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
56+
<jenkins.baseline>2.479</jenkins.baseline>
57+
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
5758
<spotless.check.skip>false</spotless.check.skip>
5859
</properties>
5960

6061
<dependencyManagement>
6162
<dependencies>
6263
<dependency>
6364
<groupId>io.jenkins.tools.bom</groupId>
64-
<artifactId>bom-2.479.x</artifactId>
65+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
6566
<version>3875.v1df09947cde6</version>
6667
<type>pom</type>
6768
<scope>import</scope>

0 commit comments

Comments
 (0)