Avoid git pull failure when workdir has changes 57/25957/3
authorGary Wu <gary.i.wu@huawei.com>
Sat, 9 Dec 2017 04:19:30 +0000 (20:19 -0800)
committerGary Wu <gary.i.wu@huawei.com>
Sat, 9 Dec 2017 04:25:13 +0000 (20:25 -0800)
Change-Id: I1f304307b1c5dd25a2aa483e0ead3a28f2111a68
Issue-ID: INT-278
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
test/ete/scripts/install_openstack_cli.sh

index 60ca154..558efa2 100755 (executable)
@@ -45,7 +45,7 @@ if [ ! -d ${ONAP_WORKDIR}/demo ]; then
 else
     pushd ${ONAP_WORKDIR}/demo
     git checkout amsterdam
+    git reset --hard
     git pull
     popd
 fi
-