X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Finclude-raw-integration-deploy-controller-offline.sh;h=bf07a09999f4d1a9d0dd3f5d653571cff9b8fd3c;hb=15d10cd60bdc3b6f1a5d4bb69306cba8f99b8b51;hp=860256f458215f22cb25c54dd86c7750dc69e5fe;hpb=bd9ff34abcff2d81368ab939d57535a391c9432a;p=releng%2Fbuilder.git diff --git a/jjb/integration/include-raw-integration-deploy-controller-offline.sh b/jjb/integration/include-raw-integration-deploy-controller-offline.sh index 860256f45..bf07a0999 100644 --- a/jjb/integration/include-raw-integration-deploy-controller-offline.sh +++ b/jjb/integration/include-raw-integration-deploy-controller-offline.sh @@ -1,31 +1,5 @@ -NEXUSURL_PREFIX=${ODLNEXUSPROXY:-https://nexus.opendaylight.org} CONTROLLERMEM="3072m" -ACTUALFEATURES="odl-integration-compatible-with-all" - -if [ ${BUNDLEURL} == 'last' ]; then - NEXUSPATH="${NEXUSURL_PREFIX}/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf" - # Extract the BUNDLEVERSION from the pom.xml - BUNDLEVERSION=`xpath pom.xml '/project/version/text()' 2> /dev/null` - echo "Bundle version is ${BUNDLEVERSION}" - # Acquire the timestamp information from maven-metadata.xml - wget ${NEXUSPATH}/${BUNDLEVERSION}/maven-metadata.xml - TIMESTAMP=`xpath maven-metadata.xml "//snapshotVersion[extension='zip'][1]/value/text()" 2>/dev/null` - echo "Nexus timestamp is ${TIMESTAMP}" - BUNDLEFOLDER="distribution-karaf-${BUNDLEVERSION}" - BUNDLE="distribution-karaf-${TIMESTAMP}.zip" - ACTUALBUNDLEURL="${NEXUSPATH}/${BUNDLEVERSION}/${BUNDLE}" -else - ACTUALBUNDLEURL="${BUNDLEURL}" - BUNDLE="${BUNDLEURL##*/}" - BUNDLEVERSION="$(basename $(dirname $BUNDLEURL))" - BUNDLEFOLDER="distribution-karaf-${BUNDLEVERSION}" -fi - -echo "Distribution bundle URL is ${ACTUALBUNDLEURL}" -echo "Distribution bundle is ${BUNDLE}" -echo "Distribution bundle version is ${BUNDLEVERSION}" -echo "Distribution folder is ${BUNDLEFOLDER}" -echo "Nexus prefix is ${NEXUSURL_PREFIX}" +ACTUALFEATURES="odl-integration-all" echo "Downloading the distribution..." wget --no-verbose ${ACTUALBUNDLEURL}