Skip to content

Commit

Permalink
Define and use jenkins.baseline property (#1161)
Browse files Browse the repository at this point in the history
Avoid updates to jenkins.version that do not also update the Jenkins
plugin bill of materials version.

jenkinsci/archetypes#737 is the inspiration.
Thanks @timja!
  • Loading branch information
MarkEWaite authored Jul 24, 2024
1 parent 2d59762 commit 20078d7
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 @@ -64,7 +64,8 @@
<argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<jenkins.version>2.440.3</jenkins.version>
<jenkins.baseline>2.440</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
<jgit.version>6.10.0.202406032230-r</jgit.version>
<spotbugs.effort>Max</spotbugs.effort>
<spotbugs.threshold>Low</spotbugs.threshold>
Expand All @@ -75,7 +76,7 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.440.x</artifactId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>3208.vb_21177d4b_cd9</version>
<type>pom</type>
<scope>import</scope>
Expand Down

0 comments on commit 20078d7

Please sign in to comment.