Add KARAF_VERSION to variables.prop file 82/57882/1
authorLuis Gomez <ecelgp@gmail.com>
Fri, 26 May 2017 02:28:04 +0000 (19:28 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Fri, 26 May 2017 02:38:28 +0000 (19:38 -0700)
- 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 <ecelgp@gmail.com>
jjb/autorelease/autorelease-projects.yaml
jjb/autorelease/include-raw-autorelease-get-integration-test-variables.sh

index c622cd4f4e3e488237b803705bd7fb7610128307..c00cfb15c6e6e138382877cb36b822d9bc3a26af 100644 (file)
@@ -11,6 +11,7 @@
           branch: 'master'
           jdk: 'openjdk8'
           integration-test: nitrogen
+          karaf-version: karaf3
       - carbon:
           next-release-tag: Carbon
           branch: 'stable/carbon'
index b90d959a788a8e96db8917d475239a3db424980c..941106e5a8a507a2d06b977dc8bfff0b2b16029a 100644 (file)
@@ -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