- wget "http://${GERRIT_PATH}/gitweb?p=integration/distribution.git;a=blob_plain;f=pom.xml;hb=refs/heads/$DISTROBRANCH" -O "pom.xml"
- # Extract the BUNDLEVERSION from the pom.xml
- BUNDLEVERSION="$(xpath pom.xml '/project/version/text()' 2> /dev/null)"
- echo "Bundle version is ${BUNDLEVERSION}"
+ 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}"