X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Finclude-raw-integration-get-bundle-vars.sh;fp=jjb%2Fintegration%2Finclude-raw-integration-get-bundle-vars.sh;h=9772004f3c37f17592ea215fdc4c9ce273fde43d;hb=e5c722ba38aee2f3132187e97925ac9e5f75f4fe;hp=6c5f5cb467ca5193640c2bf13167d898cbc7e424;hpb=85caf07d0664096f6b4802c0b8dc423f9241ce53;p=releng%2Fbuilder.git diff --git a/jjb/integration/include-raw-integration-get-bundle-vars.sh b/jjb/integration/include-raw-integration-get-bundle-vars.sh index 6c5f5cb46..9772004f3 100644 --- a/jjb/integration/include-raw-integration-get-bundle-vars.sh +++ b/jjb/integration/include-raw-integration-get-bundle-vars.sh @@ -25,8 +25,8 @@ if [ ${BUNDLEURL} == 'last' ]; then else ACTUALBUNDLEURL="${BUNDLEURL}" BUNDLE="${BUNDLEURL##*/}" - BUNDLEFOLDER="${BUNDLE//.zip}" - BUNDLEVERSION="${BUNDLEFOLDER//distribution-karaf-}" + BUNDLEVERSION="$(basename $(dirname $BUNDLEURL))" + BUNDLEFOLDER="distribution-karaf-${BUNDLEVERSION}" fi if [ ${JDKVERSION} == 'openjdk8' ]; then