X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Finclude-raw-autorelease-get-integration-test-variables.sh;h=67564700cf77eeec6a7fd50a0261afd994852da7;hb=85ec5cecdd1e7290115692c297ae6b364b1a3dcf;hp=ff7cf11a3f5b7efc4e9691f8187cbd8ed430279e;hpb=7d482ac57546ffaa5c625eb8d9d1dd9283ec432d;p=releng%2Fbuilder.git 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 ff7cf11a3..67564700c 100644 --- a/jjb/autorelease/include-raw-autorelease-get-integration-test-variables.sh +++ b/jjb/autorelease/include-raw-autorelease-get-integration-test-variables.sh @@ -9,8 +9,9 @@ # http://www.eclipse.org/legal/epl-v10.html ############################################################################## -NEXUSURL=https://nexus.opendaylight.org/staged-repos/ -VERSION=`grep -m1 '' ${WORKSPACE}/integration/distribution/distribution-karaf/pom.xml | awk -F'[<|>]' '/version/ { printf $3 }'` +NEXUSURL=https://nexus.opendaylight.org/content/repositories/ +VERSION=`grep -m2 '' ${WORKSPACE}/integration/distribution/distribution-karaf/pom.xml | tail -n1 | awk -F'[<|>]' '/version/ { printf $3 }'` +echo "VERSION: ${VERSION}" REPOID=`grep "Created staging repository with ID" $WORKSPACE/deploy-staged-repository.log | cut -d '"' -f2` - echo BUNDLEURL=${NEXUSURL}/${REPOID}/org/opendaylight/integration/distribution-karaf/${VERSION}/distribution-karaf-${VERSION}.zip > $WORKSPACE/variables.prop +echo "BUNDLEURL: ${BUNDLEURL}"