Skip to content

Commit 5b0a1b2

Browse files
Use jenkins.baseline to reduce bom update mistakes (#123)
1 parent d2ab5a4 commit 5b0a1b2

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
@@ -32,7 +32,9 @@
3232

3333
<properties>
3434
<changelist>999999-SNAPSHOT</changelist>
35-
<jenkins.version>2.361.4</jenkins.version>
35+
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
36+
<jenkins.baseline>2.361</jenkins.baseline>
37+
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
3638
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
3739
</properties>
3840

@@ -53,7 +55,7 @@
5355
<dependencies>
5456
<dependency>
5557
<groupId>io.jenkins.tools.bom</groupId>
56-
<artifactId>bom-2.361.x</artifactId>
58+
<artifactId>bom-${jenkins.baseline}.x</artifactId>
5759
<version>2102.v854b_fec19c92</version>
5860
<scope>import</scope>
5961
<type>pom</type>

0 commit comments

Comments
 (0)