From 983cb63c49a3010842f88a9549a570da13a5c2b1 Mon Sep 17 00:00:00 2001
From: Tim Jacomb <21194782+timja@users.noreply.github.com>
Date: Wed, 24 Jul 2024 18:01:43 +0100
Subject: [PATCH] Add jenkins.baseline variable to reduce manual bom update
mistakes (#737)
---
empty-plugin/src/main/resources/archetype-resources/pom.xml | 5 +++--
.../src/main/resources/archetype-resources/pom.xml | 5 +++--
hello-world/src/main/resources/archetype-resources/pom.xml | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/empty-plugin/src/main/resources/archetype-resources/pom.xml b/empty-plugin/src/main/resources/archetype-resources/pom.xml
index bafca4ce..7e86b421 100644
--- a/empty-plugin/src/main/resources/archetype-resources/pom.xml
+++ b/empty-plugin/src/main/resources/archetype-resources/pom.xml
@@ -35,7 +35,8 @@
1.0
-SNAPSHOT
- 2.440.3
+ 2.440
+ ${jenkins.baseline}.3
#if( $hostOnJenkinsGitHub == "true" )
jenkinsci/${project.artifactId}-plugin
#end
@@ -47,7 +48,7 @@
io.jenkins.tools.bom
- bom-2.440.x
+ bom-${jenkins.baseline}.x
3208.vb_21177d4b_cd9
pom
import
diff --git a/global-configuration/src/main/resources/archetype-resources/pom.xml b/global-configuration/src/main/resources/archetype-resources/pom.xml
index bafca4ce..7e86b421 100644
--- a/global-configuration/src/main/resources/archetype-resources/pom.xml
+++ b/global-configuration/src/main/resources/archetype-resources/pom.xml
@@ -35,7 +35,8 @@
1.0
-SNAPSHOT
- 2.440.3
+ 2.440
+ ${jenkins.baseline}.3
#if( $hostOnJenkinsGitHub == "true" )
jenkinsci/${project.artifactId}-plugin
#end
@@ -47,7 +48,7 @@
io.jenkins.tools.bom
- bom-2.440.x
+ bom-${jenkins.baseline}.x
3208.vb_21177d4b_cd9
pom
import
diff --git a/hello-world/src/main/resources/archetype-resources/pom.xml b/hello-world/src/main/resources/archetype-resources/pom.xml
index 0e355990..b3285f6a 100644
--- a/hello-world/src/main/resources/archetype-resources/pom.xml
+++ b/hello-world/src/main/resources/archetype-resources/pom.xml
@@ -36,7 +36,8 @@
-SNAPSHOT
- 2.440.3
+ 2.440
+ ${jenkins.baseline}.3
#if( $hostOnJenkinsGitHub == "true" )
jenkinsci/${project.artifactId}-plugin
#end
@@ -49,7 +50,7 @@
io.jenkins.tools.bom
- bom-2.440.x
+ bom-${jenkins.baseline}.x
3208.vb_21177d4b_cd9
pom
import