From e4411a26b632889fa0170694dfb22dee5f3ac47a Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Fri, 22 Nov 2024 19:08:50 -0700 Subject: [PATCH] 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. --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 53f64ec..a80f1e0 100644 --- a/pom.xml +++ b/pom.xml @@ -44,13 +44,14 @@ 1.4 -SNAPSHOT jenkinsci/artifactdeployer-plugin - 2.361.4 + 2.361 + ${jenkins.baseline}.4 High - scm:git:https://github.com/${gitHubRepo}.git + scm:git:https://github.com/${gitHubRepo}.git scm:git:ssh://git@github.com/${gitHubRepo}.git https://github.com/${gitHubRepo} ${scmTag} @@ -60,7 +61,7 @@ io.jenkins.tools.bom - bom-2.361.x + bom-${jenkins.baseline}.x 2102.v854b_fec19c92 import pom @@ -88,7 +89,6 @@ atlassian-public https://maven.atlassian.com/repository/public -