amend download public IP and remove directory for bottlenecks upload job 29/5729/2
authorMatthewLi <matthew.lijun@huawei.com>
Thu, 7 Jan 2016 07:40:44 +0000 (02:40 -0500)
committerMatthewLi <matthew.lijun@huawei.com>
Thu, 7 Jan 2016 09:04:23 +0000 (04:04 -0500)
JIRA: BOTTLENECK-4

Change-Id: I4af3a6c8d06aced8ca3de2e38d6453a3eeb96f9f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
jjb/bottlenecks/bottlenecks.yml

index 479041a..ddaaba6 100644 (file)
            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"
 
 ###################################
             #!/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
 
 
             echo "Bottlenecks: cleanup cache used for storage downloaded packages"
 
-            /bin/rm -rf $WORKSPACE
+            /bin/rm -rf $CACHE_DIR
 
 #######################
 #trigger macros