summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex-workspace-cleanup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/apex/apex-workspace-cleanup.sh')
-rwxr-xr-xjjb/apex/apex-workspace-cleanup.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/jjb/apex/apex-workspace-cleanup.sh b/jjb/apex/apex-workspace-cleanup.sh
new file mode 100755
index 000000000..d2f71a562
--- /dev/null
+++ b/jjb/apex/apex-workspace-cleanup.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+set -o errexit
+set -o nounset
+set -o pipefail
+
+# delete everything that is in $WORKSPACE
+sudo /bin/rm -rf $WORKSPACE