Add karaf_version param to mri-stage 28/97428/1
authorTomas Cere <tomas.cere@pantheon.tech>
Wed, 8 Sep 2021 14:50:19 +0000 (16:50 +0200)
committerTomas Cere <tomas.cere@pantheon.tech>
Wed, 8 Sep 2021 14:50:19 +0000 (16:50 +0200)
Looks like this param is needed since its used
to lookup the actual artifact id, which is used
to build up the correct bundle_url.

Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: I342da21a119b40530b43d83421e1e200fe6a58c9

jjb/releng-maven-mri-stage.sh
jjb/releng-maven-mri-stage.yaml

index 9dd7b4e6cd17bebeca085934f3b2bba9df7d71e3..9dfb7859e00bdd4a51ab04b659a824e42fc6e100 100644 (file)
@@ -29,4 +29,5 @@ echo "Bundle url is ${BUNDLE_URL}"
 # Re-inject the new BUNDLE_URL for downstream jobs to pull from Nexus
 cat > "${WORKSPACE}/maven-staged-bundle.env" <<EOF
 BUNDLE_URL=${BUNDLE_URL}
+KARAF_VERSION=${KARAF_VERSION}
 EOF
index cd957c047de9078bc0608364f47fbb1b73e901e8..d08c7b4c2aadc1b7555769b82f7edbc50f5a7dc3 100644 (file)
           mvn-params: "{mvn-params}"
           mvn-version: "{mvn-version}"
           staging-profile-id: "{staging-profile-id}"
+      - distribution-karaf-version:
+          karaf-version: "{karaf-version}"
       - bool:
           name: MAVEN_VERSIONS_PLUGIN
           default: "{maven-versions-plugin}"