X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Fintegration-detect-variables.sh;h=f2acb4c6e957acad7a48966daf7f0803ee0e12dd;hb=5ed28c3a46b1f40a6ae43fa8853681290689a98d;hp=961df7bcbbe0aef28812847bec6d446a3224af07;hpb=7154454605f0ac309e19c9adffb185771ac9be3f;p=releng%2Fbuilder.git diff --git a/jjb/integration/integration-detect-variables.sh b/jjb/integration/integration-detect-variables.sh index 961df7bcb..f2acb4c6e 100644 --- a/jjb/integration/integration-detect-variables.sh +++ b/jjb/integration/integration-detect-variables.sh @@ -1,11 +1,11 @@ - +#!/bin/bash # TODO: Document the default values. NEXUSURL_PREFIX="${ODLNEXUSPROXY:-https://nexus.opendaylight.org}" ODL_NEXUS_REPO="${ODL_NEXUS_REPO:-content/repositories/opendaylight.snapshot}" GERRIT_PATH="${GERRIT_PATH:-git.opendaylight.org/gerrit}" DISTROBRANCH="${DISTROBRANCH:-$GERRIT_BRANCH}" -if [ ${BUNDLE_URL} == 'last' ]; then +if [ "${BUNDLE_URL}" == 'last' ]; then # Obtain current pom.xml of integration/distribution, correct branch. 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"