X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fautorelease%2Fautorelease-get-integration-test-variables.sh;h=95ff652ae7e723842b87c0239238304a5f995085;hb=61548e3aee4f9beec70e2faad72fb26dd77ebf12;hp=e7e347f47d00b9c4dce52f7e52557f9e6f8d1591;hpb=0a3c84bce0b23dfa756cf4ebfa275eabc344b1b3;p=releng%2Fbuilder.git diff --git a/jjb/autorelease/autorelease-get-integration-test-variables.sh b/jjb/autorelease/autorelease-get-integration-test-variables.sh index e7e347f47..95ff652ae 100644 --- a/jjb/autorelease/autorelease-get-integration-test-variables.sh +++ b/jjb/autorelease/autorelease-get-integration-test-variables.sh @@ -19,8 +19,9 @@ NEXUS_STAGING_URL="${ODLNEXUS_STAGING_URL:-$ODLNEXUSPROXY}" NEXUSURL="${NEXUS_STAGING_URL}/content/repositories/" VERSION=$(grep -m2 '' "${WORKSPACE}/integration/distribution/${KARAF_ARTIFACT}/pom.xml" | tail -n1 | awk -F'[<|>]' '/version/ { printf $3 }') echo "VERSION: ${VERSION}" -STAGING_REPO_ID=$(grep "Created staging repository with ID" "$WORKSPACE/deploy-staged-repository.log" | cut -d '"' -f2) +STAGING_REPO_ID=$(grep "$NEXUS_STAGING_URL" "$WORKSPACE/archives/staging-repo.txt" | awk '{print $1}') BUNDLE_URL="${NEXUSURL}/${STAGING_REPO_ID}/org/opendaylight/integration/${KARAF_ARTIFACT}/${VERSION}/${KARAF_ARTIFACT}-${VERSION}.zip" +# shellcheck disable=SC2129 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"