X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-detect-variables.sh;h=961df7bcbbe0aef28812847bec6d446a3224af07;hb=a922381d030c5d57647f3412f77aee4c8479d458;hp=542b0dcc1eac95dfd097cf2c68a0ef78328f5cbe;hpb=cf75895e3b79b4e19bfb232e871bcb3f06ac2482;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-detect-variables.sh b/jjb/integration/integration-detect-variables.sh index 542b0dcc1..961df7bcb 100644 --- a/jjb/integration/integration-detect-variables.sh +++ b/jjb/integration/integration-detect-variables.sh @@ -7,7 +7,11 @@ DISTROBRANCH="${DISTROBRANCH:-$GERRIT_BRANCH}" if [ ${BUNDLE_URL} == 'last' ]; then # Obtain current pom.xml of integration/distribution, correct branch. - wget "http://${GERRIT_PATH}/gitweb?p=integration/distribution.git;a=blob_plain;f=pom.xml;hb=refs/heads/$DISTROBRANCH" -O "pom.xml" + if [[ "$KARAF_ARTIFACT" == "opendaylight" ]]; then + wget "http://${GERRIT_PATH}/gitweb?p=integration/distribution.git;a=blob_plain;f=opendaylight/pom.xml;hb=refs/heads/$DISTROBRANCH" -O "pom.xml" + else + wget "http://${GERRIT_PATH}/gitweb?p=integration/distribution.git;a=blob_plain;f=pom.xml;hb=refs/heads/$DISTROBRANCH" -O "pom.xml" + fi # Extract the BUNDLE_VERSION from the pom.xml BUNDLE_VERSION="$(xpath pom.xml '/project/version/text()' 2> /dev/null)" echo "Bundle version is ${BUNDLE_VERSION}"