From 0f7f2b78a95e32d647931db4cac1b7921a8ac832 Mon Sep 17 00:00:00 2001 From: Luis Gomez Date: Thu, 25 May 2017 19:28:04 -0700 Subject: [PATCH] Add KARAF_VERSION to variables.prop file - This way the variable can be passed to distribution test job. - With this change autorelease can generate and trigger test for either k3 or k4 distribution. With this change k3 is default. - Ideally it should be possible to generate and trigger test for both distributions k3 and k4 but the way the scripts are written today in autorelease it seems like too much rework. Change-Id: I7708c95e7ee889a1eae93f05003a630dac06ccc2 Signed-off-by: Luis Gomez --- jjb/autorelease/autorelease-projects.yaml | 1 + .../include-raw-autorelease-get-integration-test-variables.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/jjb/autorelease/autorelease-projects.yaml b/jjb/autorelease/autorelease-projects.yaml index c622cd4f4..c00cfb15c 100644 --- a/jjb/autorelease/autorelease-projects.yaml +++ b/jjb/autorelease/autorelease-projects.yaml @@ -11,6 +11,7 @@ branch: 'master' jdk: 'openjdk8' integration-test: nitrogen + karaf-version: karaf3 - carbon: next-release-tag: Carbon branch: 'stable/carbon' diff --git a/jjb/autorelease/include-raw-autorelease-get-integration-test-variables.sh b/jjb/autorelease/include-raw-autorelease-get-integration-test-variables.sh index b90d959a7..941106e5a 100644 --- a/jjb/autorelease/include-raw-autorelease-get-integration-test-variables.sh +++ b/jjb/autorelease/include-raw-autorelease-get-integration-test-variables.sh @@ -23,6 +23,7 @@ STAGING_REPO_ID=$(grep "Created staging repository with ID" "$WORKSPACE/deploy-s BUNDLE_URL="${NEXUSURL}/${STAGING_REPO_ID}/org/opendaylight/integration/${KARAF_ARTIFACT}/${VERSION}/${KARAF_ARTIFACT}-${VERSION}.zip" echo STAGING_REPO_ID="$STAGING_REPO_ID" >> "$WORKSPACE/variables.prop" echo BUNDLE_URL="$BUNDLE_URL" >> "$WORKSPACE/variables.prop" +echo KARAF_VERSION="$KARAF_VERSION" >> "$WORKSPACE/variables.prop" echo "BUNDLE_URL: ${BUNDLE_URL}" # Copy variables.prop to variables.jenkins-trigger so that the end of build -- 2.36.6