diff options
Diffstat (limited to 'jjb/global/releng-macros.yaml')
-rw-r--r-- | jjb/global/releng-macros.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/jjb/global/releng-macros.yaml b/jjb/global/releng-macros.yaml index b282cff4f..d2da7f625 100644 --- a/jjb/global/releng-macros.yaml +++ b/jjb/global/releng-macros.yaml @@ -1014,3 +1014,23 @@ - shell: !include-raw: installer-report.sh mark-unstable-if-failed: true + +- publisher: + name: 'post-clean-workspace' + publishers: + - postbuildscript: + builders: + - role: SLAVE + build-on: + - ABORTED + - FAILURE + - NOT_BUILT + - UNSTABLE + - SUCCESS + build-steps: + - shell: | + #!/bin/bash + set -o errexit + set -o nounset + set -o pipefail + sudo /bin/rm -rf "$WORKSPACE" |