Skip to content

Commit

Permalink
Use jenkins.baseline to reduce bom update mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
strangelookingnerd authored Jan 14, 2025
1 parent 82c36f5 commit b847e13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<jenkins.version>2.361.4</jenkins.version>
<jenkins.baseline>2.361</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
</properties>

Expand All @@ -46,7 +47,7 @@
<dependency>
<!-- Pick up common dependencies for the selected LTS line: https://github.com/jenkinsci/bom#usage -->
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.332.x</artifactId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>1763.v092b_8980a_f5e</version>
<type>pom</type>
<scope>import</scope>
Expand Down

0 comments on commit b847e13

Please sign in to comment.