summaryrefslogtreecommitdiffstats
path: root/jjb/bottlenecks/bottlenecks-ci-jobs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/bottlenecks/bottlenecks-ci-jobs.yml')
-rw-r--r--jjb/bottlenecks/bottlenecks-ci-jobs.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/jjb/bottlenecks/bottlenecks-ci-jobs.yml b/jjb/bottlenecks/bottlenecks-ci-jobs.yml
index a8654d0cf..e7878f883 100644
--- a/jjb/bottlenecks/bottlenecks-ci-jobs.yml
+++ b/jjb/bottlenecks/bottlenecks-ci-jobs.yml
@@ -126,6 +126,7 @@
builders:
- 'bottlenecks-env-cleanup'
- 'bottlenecks-run-suite'
+ - 'bottlenecks-workspace-cleanup'
publishers:
- email:
@@ -147,6 +148,18 @@
- shell:
!include-raw: ./bottlenecks-run-suite.sh
+- builder:
+ name: bottlenecks-workspace-cleanup
+ builders:
+ - shell: |
+ #!/bin/bash
+ set -o errexit
+ set -o nounset
+ set -o pipefail
+
+ # delete everything that is in $WORKSPACE
+ /bin/rm -rf $WORKSPACE
+
####################
# parameter macros
####################