-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid bom version mismatches with jenkins.baseline
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
1 parent
d2484cd
commit e4411a2
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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> | ||
|
@@ -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> | ||
|
@@ -88,7 +89,6 @@ | |
<repository> | ||
<id>atlassian-public</id> | ||
<url>https://maven.atlassian.com/repository/public</url> | ||
|
||
</repository> | ||
</repositories> | ||
<pluginRepositories> | ||
|