diff options
author | dongwenjuan <dong.wenjuan@zte.com.cn> | 2018-08-06 16:51:39 +0800 |
---|---|---|
committer | dongwenjuan <dong.wenjuan@zte.com.cn> | 2018-08-06 16:51:39 +0800 |
commit | ab2fed2522eaf82ea7c63dd05008a37c56e825d0 (patch) | |
tree | 72c1b0863e585455929c53e5ead3d8403336a393 | |
parent | 3aaed5cf40092744f1b87680b9205a2901baecf3 (diff) |
use 'workspace-cleanup' plugin in publisher
Change-Id: I4db7c0cda5485dbc756a22b9cbde298612241274
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
-rw-r--r-- | jjb/doctor/doctor.yaml | 3 | ||||
-rw-r--r-- | jjb/global/releng-macros.yaml | 20 |
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" |