summaryrefslogtreecommitdiffstats
path: root/jjb/xci/xci-run-functest.sh
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-02-26 14:11:23 +0000
committerFatih Degirmenci <fdegir@gmail.com>2018-02-26 14:19:45 +0000
commit73067bebb45315a0aad87200ba28f528ff1934a2 (patch)
treeb8f815e3c093888e22cb6a4564dc0a4d435c2abb /jjb/xci/xci-run-functest.sh
parent375ecea18576cb947ba8ea40218a35ab0c9709c8 (diff)
xci: Move out of WORKSPACE before wiping it out and log scenario to console
Change-Id: Ia2caeef24a199580a9eeb2ba6214fa2008f65c1c Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'jjb/xci/xci-run-functest.sh')
-rwxr-xr-xjjb/xci/xci-run-functest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/xci/xci-run-functest.sh b/jjb/xci/xci-run-functest.sh
index 7c639b75b..9a235940e 100755
--- a/jjb/xci/xci-run-functest.sh
+++ b/jjb/xci/xci-run-functest.sh
@@ -27,8 +27,8 @@ fi
# if the change is coming to releng-xci, we don't need to do anything since the patch is checked
# out to the WORKSPACE anyways
if [[ $GERRIT_PROJECT != "releng-xci" ]]; then
- /bin/rm -rf $WORKSPACE
- git clone https://gerrit.opnfv.org/gerrit/releng-xci $WORKSPACE
+ cd $HOME && /bin/rm -rf $WORKSPACE
+ git clone https://gerrit.opnfv.org/gerrit/releng-xci $WORKSPACE && cd $WORKSPACE
fi
# skip the deployment if the scenario is not supported on this distro