From 7f570fb61cb09786a651288278e19274eb303f05 Mon Sep 17 00:00:00 2001
From: MatthewLi <matthew.lijun@huawei.com>
Date: Thu, 7 Jan 2016 02:40:44 -0500
Subject: amend download public IP and remove directory for bottlenecks upload
 job

JIRA: BOTTLENECK-4

Change-Id: I4af3a6c8d06aced8ca3de2e38d6453a3eeb96f9f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
---
 jjb/bottlenecks/bottlenecks.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/jjb/bottlenecks/bottlenecks.yml b/jjb/bottlenecks/bottlenecks.yml
index 479041a9a..ddaaba6af 100644
--- a/jjb/bottlenecks/bottlenecks.yml
+++ b/jjb/bottlenecks/bottlenecks.yml
@@ -167,7 +167,7 @@
            description: "LF artifacts url for storage of bottlenecks packages"
         - string:
            name: PACKAGE_URL
-           default: http://205.177.226.235:9999/bottlenecks/{suite}/
+           default: http://205.177.226.237:9999/bottlenecks/{suite}/
            description: "the url where we store the packages used for bottlenecks rubbos"
 
 ###################################
@@ -207,7 +207,7 @@
             #!/bin/bash
             set -o errexit
 
-            echo "Bottlenecks ${suite}: upload to artifacts from the public IP"
+            echo "Bottlenecks: upload to artifacts from the public IP"
 
             [[ -d $CACHE_DIR ]] || mkdir -p $CACHE_DIR
 
@@ -229,7 +229,7 @@
 
             echo "Bottlenecks: cleanup cache used for storage downloaded packages"
 
-            /bin/rm -rf $WORKSPACE
+            /bin/rm -rf $CACHE_DIR
 
 #######################
 #trigger macros
-- 
cgit