summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/bottlenecks/bottlenecks.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/jjb/bottlenecks/bottlenecks.yml b/jjb/bottlenecks/bottlenecks.yml
index eef0bf434..f15aa8f7c 100644
--- a/jjb/bottlenecks/bottlenecks.yml
+++ b/jjb/bottlenecks/bottlenecks.yml
@@ -87,6 +87,7 @@
parameters:
- project-parameter:
project: '{project}'
+ - 'ericsson-ca-build-1-defaults'
scm:
- git-scm:
@@ -96,6 +97,7 @@
builders:
- 'bottlenecks-builder-upload-artifact'
+ - 'bottlenecks-workspace-cleanup'
- job-template:
name: 'bottlenecks-daily-{installer}-{pod}-{stream}'
@@ -241,6 +243,17 @@
gsutil cp $CACHE_DIR/$file $RUBBOS_URL
done
+- builder:
+ name: bottlenecks-workspace-cleanup
+ builders:
+ - shell: |
+ #!/bin/bash
+ set -o errexit
+
+ echo "Bottlenecks: cleanup cache used for storage downloaded packages"
+
+ /bin/rm -rf $WORKSPACE
+
#######################
#trigger macros
#######################