Skip to content

Commit

Permalink
Avoid bom version mismatches with jenkins.baseline
Browse files Browse the repository at this point in the history
The Jenkins plugin archetype uses jenkins.baseline to prevent
inconsistencies between the minimum required Jenkins version and the
Jenkins plugin bill of materials version.  Use the same technique in
this plugin.
  • Loading branch information
MarkEWaite committed Nov 23, 2024
1 parent 753f379 commit 6d1e3e9
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 @@ -14,7 +14,8 @@
<url>https://github.com/jenkinsci/port-allocator-plugin</url>

<properties>
<jenkins.version>2.375.4</jenkins.version>
<jenkins.baseline>2.375</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
</properties>

<developers>
Expand Down Expand Up @@ -69,7 +70,7 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.375.x</artifactId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>2198.v39c76fc308ca</version>
<scope>import</scope>
<type>pom</type>
Expand Down

0 comments on commit 6d1e3e9

Please sign in to comment.