summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-08-06 09:00:52 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-08-06 09:00:52 +0000
commitf5cd7e63ddd9b84e99708dd2bc55a1c4da3b28eb (patch)
tree56b2f868443cd0f7657a14bf931dd19578e52193
parent3b5a3df47ff8d7580ec2df5f0a6b0cd2bd29cf02 (diff)
parentab2fed2522eaf82ea7c63dd05008a37c56e825d0 (diff)
Merge "use 'workspace-cleanup' plugin in publisher"
-rw-r--r--jjb/doctor/doctor.yaml3
-rw-r--r--jjb/global/releng-macros.yaml20
2 files changed, 1 insertions, 22 deletions
diff --git a/jjb/doctor/doctor.yaml b/jjb/doctor/doctor.yaml
index 6a8e07b08..dae280e7d 100644
--- a/jjb/doctor/doctor.yaml
+++ b/jjb/doctor/doctor.yaml
@@ -212,8 +212,7 @@
- archive:
artifacts: 'doctor_tests/*.log'
- email-jenkins-admins-on-failure
- - 'post-clean-workspace'
-
+ - workspace-cleanup
#####################################
# trigger macros
diff --git a/jjb/global/releng-macros.yaml b/jjb/global/releng-macros.yaml
index d2da7f625..b282cff4f 100644
--- a/jjb/global/releng-macros.yaml
+++ b/jjb/global/releng-macros.yaml
@@ -1014,23 +1014,3 @@
- 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"