bug-fix: fix privilege error for removing workspace 13/41913/1
authorYang Yu <Gabriel.yuyang@huawei.com>
Thu, 14 Sep 2017 03:33:14 +0000 (11:33 +0800)
committerYang Yu <Gabriel.yuyang@huawei.com>
Thu, 14 Sep 2017 03:33:14 +0000 (11:33 +0800)
JIRA: BOTTLENECK-196

Details refer to: https://build.opnfv.org/ci/view/bottlenecks/
job/bottlenecks-compass-posca_stress_ping-virtual-daily-master/
41/consoleFull

Change-Id: Ia973bab723e2b52a34f4332a5dbcff7c342720d7
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
jjb/bottlenecks/bottlenecks-ci-jobs.yml

index e7878f8..74e07b0 100644 (file)
             set -o pipefail
 
             # delete everything that is in $WORKSPACE
-            /bin/rm -rf $WORKSPACE
+            sudo rm -rf $WORKSPACE
 
 ####################
 # parameter macros