Remove old /p/ in gerrit HTTP URL 13/83213/1
authorLuis Gomez <ecelgp@gmail.com>
Tue, 23 Jul 2019 19:43:06 +0000 (12:43 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Tue, 23 Jul 2019 19:43:06 +0000 (12:43 -0700)
https://www.gerritcodereview.com/2.16.html#legacy-p-prefix-for-githttp-projects-is-removed

Change-Id: I0936d411dbafb72e875f9148303ea1fa6edc051b
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
jjb/integration/integration-apex-run-tests.sh
jjb/integration/integration-compare-distributions.sh
jjb/integration/multipatch-distribution.sh

index 14f9f4a8a613d4c3adbcd7aaf631709e52c04edf..a6a51127d31c349c27d9655c801ca573b297ab51 100644 (file)
@@ -22,7 +22,7 @@ wget --progress=dot:mega ${ACTUAL_BUNDLE_URL}
 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
 
index 87ad52100927df5cef44ad2c5e9b2f6e0283d0eb..372001436be202b93b98cfce463016eb1655dd6d 100644 (file)
@@ -50,7 +50,7 @@ cd /tmp/ || exit
 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
 
index 87dd099f63e26d5ad5e03029656727dd09b5ffac..58454878ab7aef74f69730431a028f35dc20fe15 100755 (executable)
@@ -132,7 +132,7 @@ do
     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)"
@@ -191,7 +191,7 @@ if [ "${distribution_status}" == "not_included" ]; then
     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}"