From: MatthewLi Date: Thu, 31 Dec 2015 08:53:03 +0000 (-0500) Subject: add default parameters and workspace cleanup builder for bottlenecks upload job X-Git-Tag: brahmaputra.1.0~342 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=7249b6fad089c00def124d5f727974dd50d8eab7;p=releng.git add default parameters and workspace cleanup builder for bottlenecks upload job JIRA: BOTTLENECK-4 Change-Id: I2a9dd66a9312bceba913825bd506dfb18b217327 Signed-off-by: MatthewLi --- 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 #######################