Add to archive-build macro to cleanup workspace at end of build.
Change-Id: I387506eb526f4cc24eff08abdd1d4b0d47eb13dc
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
# To archive things the job will need to create a "archives" directory in
# the workspace and this macro will handle copying the contents of the
# archives directory.
+ # Also ensure that the workspace is cleaned up at the end of the build.
publishers:
- postbuildscript:
builders:
script-only-if-succeeded: False
script-only-if-failed: False
mark-unstable-if-failed: True
+ - workspace-cleanup:
+ fail-build: false
- builder:
name: wipe-org-opendaylight-repo