Skip to content

Commit

Permalink
Use jenkins.baseline to reduce bom update mistakes (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
strangelookingnerd authored Jan 14, 2025
1 parent 6dd1ade commit 111b369
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
<java.level>11</java.level>

<changelist>999999-SNAPSHOT</changelist>
<jenkins.version>2.426.3</jenkins.version>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<jenkins.baseline>2.426</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>

<hpi.compatibleSinceVersion>44.0</hpi.compatibleSinceVersion>
Expand Down Expand Up @@ -90,7 +92,7 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.426.x</artifactId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>3105.v672692894683</version>
<scope>import</scope>
<type>pom</type>
Expand Down

0 comments on commit 111b369

Please sign in to comment.