summaryrefslogtreecommitdiffstats
path: root/jjb/compass4nfv/compass-workspace-precleanup.sh
diff options
context:
space:
mode:
authorJun Li <matthew.lijun@huawei.com>2016-01-09 06:58:35 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-09 06:58:35 +0000
commitb221b8cfe13a0f484d92c9a5721294bca0df669d (patch)
treec0477eeac6b6bfb6dfdff469214604d2777d1ec2 /jjb/compass4nfv/compass-workspace-precleanup.sh
parentd012e767492009d8d775a7a8f3b4591ccddfd437 (diff)
parent946147ef544271432a6fd02b1c8d99326af7ddd7 (diff)
Merge "Enable compass Arno scenario for master and stable/brahmaputra"
Diffstat (limited to 'jjb/compass4nfv/compass-workspace-precleanup.sh')
-rw-r--r--jjb/compass4nfv/compass-workspace-precleanup.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/jjb/compass4nfv/compass-workspace-precleanup.sh b/jjb/compass4nfv/compass-workspace-precleanup.sh
new file mode 100644
index 000000000..e4a301bab
--- /dev/null
+++ b/jjb/compass4nfv/compass-workspace-precleanup.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+set -o errexit
+set -o nounset
+set -o pipefail
+
+cd $WORKSPACE/..
+sudo rm $WORKSPACE -rf
+git clone $GIT_BASE $WORKSPACE \ No newline at end of file