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 d2484cd commit e4411a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@
<revision>1.4</revision>
<changelist>-SNAPSHOT</changelist>
<gitHubRepo>jenkinsci/artifactdeployer-plugin</gitHubRepo>
<jenkins.version>2.361.4</jenkins.version>
<jenkins.baseline>2.361</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.4</jenkins.version>
<!-- Requires triage -->
<spotbugs.threshold>High</spotbugs.threshold>
</properties>

<scm>
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
<developerConnection>scm:git:ssh://[email protected]/${gitHubRepo}.git</developerConnection>
<url>https://github.com/${gitHubRepo}</url>
<tag>${scmTag}</tag>
Expand All @@ -60,7 +61,7 @@
<dependencies>
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-2.361.x</artifactId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>2102.v854b_fec19c92</version>
<scope>import</scope>
<type>pom</type>
Expand Down Expand Up @@ -88,7 +89,6 @@
<repository>
<id>atlassian-public</id>
<url>https://maven.atlassian.com/repository/public</url>

</repository>
</repositories>
<pluginRepositories>
Expand Down

0 comments on commit e4411a2

Please sign in to comment.