summaryrefslogtreecommitdiffstats
path: root/jjb/compass4nfv
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-09-02 23:11:36 +0200
committerAric Gardner <agardner@linuxfoundation.org>2017-09-08 19:02:12 +0000
commit510e38e4a832afb96885f9d21156ef095519cd23 (patch)
tree34e43f60882341cd29a9da87f9a662b16e9e86a1 /jjb/compass4nfv
parent3d34691287f0efd7361cc35f9a7cbe4e27f0b5f6 (diff)
installers: Use global macro 'clean-workspace'
Change-Id: I34a555697d963efc38064a7b53f25191d6bf1382 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'jjb/compass4nfv')
-rw-r--r--jjb/compass4nfv/compass-project-jobs.yml3
-rw-r--r--jjb/compass4nfv/compass-workspace-cleanup.sh7
2 files changed, 1 insertions, 9 deletions
diff --git a/jjb/compass4nfv/compass-project-jobs.yml b/jjb/compass4nfv/compass-project-jobs.yml
index 691e76278..e612ef65f 100644
--- a/jjb/compass4nfv/compass-project-jobs.yml
+++ b/jjb/compass4nfv/compass-project-jobs.yml
@@ -64,8 +64,7 @@
!include-raw-escape: ./compass-build.sh
- shell:
!include-raw-escape: ./compass-upload-artifact.sh
- - shell:
- !include-raw-escape: ./compass-workspace-cleanup.sh
+ - 'clean-workspace'
- job-template:
name: 'compass-build-ppa-{stream}'
diff --git a/jjb/compass4nfv/compass-workspace-cleanup.sh b/jjb/compass4nfv/compass-workspace-cleanup.sh
deleted file mode 100644
index 98201af9b..000000000
--- a/jjb/compass4nfv/compass-workspace-cleanup.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-set -o errexit
-set -o nounset
-set -o pipefail
-
-# delete everything that is in $WORKSPACE
-/bin/rm -rf $WORKSPACE \ No newline at end of file