diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-09-02 23:11:36 +0200 |
---|---|---|
committer | Aric Gardner <agardner@linuxfoundation.org> | 2017-09-08 19:02:12 +0000 |
commit | 510e38e4a832afb96885f9d21156ef095519cd23 (patch) | |
tree | 34e43f60882341cd29a9da87f9a662b16e9e86a1 /jjb/global | |
parent | 3d34691287f0efd7361cc35f9a7cbe4e27f0b5f6 (diff) |
installers: Use global macro 'clean-workspace'
Change-Id: I34a555697d963efc38064a7b53f25191d6bf1382
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'jjb/global')
-rw-r--r-- | jjb/global/releng-macros.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml index 20b13b8be..59415f5ca 100644 --- a/jjb/global/releng-macros.yml +++ b/jjb/global/releng-macros.yml @@ -468,6 +468,16 @@ fi - builder: + name: clean-workspace + builders: + - shell: | + #!/bin/bash + set -o errexit + set -o nounset + set -o pipefail + sudo /bin/rm -rf "$WORKSPACE" + +- builder: name: clean-workspace-log builders: - shell: | |