Step 2: Change csit job templates to download 2 repositories
[releng/builder.git] / jjb / integration / include-raw-integration-deploy-controller-run-test.sh
index ed62b457fa48acc44e877e5b49152ad2d911dc1d..6eee1c6396bc8e26c464c58007500a2655eea644 100644 (file)
@@ -11,7 +11,7 @@ fi
 if [ ${BUNDLEURL} == 'last' ]; then
     NEXUSPATH="${NEXUSURL_PREFIX}/content/repositories/opendaylight.snapshot/org/opendaylight/integration/distribution-karaf"
     # Extract the BUNDLEVERSION from the pom.xml
-    export BUNDLEVERSION=`xpath pom.xml '/project/version/text()' 2> /dev/null`
+    export BUNDLEVERSION=`xpath distribution/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