JIRA: BOTTLENECK-4
Change-Id: I2a9dd66a9312bceba913825bd506dfb18b217327
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
parameters:
- project-parameter:
project: '{project}'
+ - 'ericsson-ca-build-1-defaults'
scm:
- git-scm:
builders:
- 'bottlenecks-builder-upload-artifact'
+ - 'bottlenecks-workspace-cleanup'
- job-template:
name: 'bottlenecks-daily-{installer}-{pod}-{stream}'
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
#######################