summaryrefslogtreecommitdiffstats
path: root/jjb/xci/xci-run-functest.sh
diff options
context:
space:
mode:
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