From ab2fed2522eaf82ea7c63dd05008a37c56e825d0 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Mon, 6 Aug 2018 16:51:39 +0800 Subject: use 'workspace-cleanup' plugin in publisher Change-Id: I4db7c0cda5485dbc756a22b9cbde298612241274 Signed-off-by: dongwenjuan --- jjb/doctor/doctor.yaml | 3 +-- jjb/global/releng-macros.yaml | 20 -------------------- 2 files changed, 1 insertion(+), 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" -- cgit 1.2.3-korg