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