UNZIPPED_DIR=`dirname "$(unzip -qql ${BUNDLE} | head -n1 | tr -s ' ' | cut -d' ' -f5-)"`
unzip -q ${BUNDLE}
tar czf ${DISTRO_UNDER_TEST} ${UNZIPPED_DIR}
-git clone https://gerrit.opnfv.org/gerrit/p/sdnvpn.git /tmp/sdnvpn
+git clone https://gerrit.opnfv.org/gerrit/sdnvpn.git /tmp/sdnvpn
pushd /tmp/sdnvpn; git fetch https://gerrit.opnfv.org/gerrit/sdnvpn refs/changes/93/63293/1 && git checkout FETCH_HEAD; popd
/tmp/sdnvpn/odl-pipeline/lib/odl_reinstaller.sh --pod-config ${WORKSPACE}/node.yaml --odl-artifact ${DISTRO_UNDER_TEST} --ssh-key-file ~/.ssh/robot_id_rsa
unzip $NEW_DISTRO_BASENAME
mv $BUNDLEFOLDER distro_new
-git clone https://git.opendaylight.org/gerrit/p/integration/test.git
+git clone https://git.opendaylight.org/gerrit/integration/test.git
cd test/tools/distchanges || exit
mkdir -p $WORKSPACE/archives
PROJECT_SHORTNAME="${PROJECT##*/}" # http://stackoverflow.com/a/3162500
PROJECTS+=("${PROJECT_SHORTNAME}")
echo "1. cloning project ${PROJECT}"
- git clone "https://git.opendaylight.org/gerrit/p/${PROJECT}"
+ git clone "https://git.opendaylight.org/gerrit/${PROJECT}"
cd ${PROJECT_SHORTNAME}
# For patch = controller=61/29761/5:45/29645/6, this gives 61/29761/5.
CHECKOUT="$(echo ${patch} | cut -d\= -s -f 2 | cut -d\: -f 1)"
echo "adding integration/distribution"
PROJECTS+=(distribution)
# clone distribution and add it as a module in root pom
- git clone "https://git.opendaylight.org/gerrit/p/integration/distribution"
+ git clone "https://git.opendaylight.org/gerrit/integration/distribution"
cd distribution
git checkout "${DISTRIBUTION_BRANCH_TO_BUILD}"
cd "${BUILD_DIR}"