summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorYang Yu <Gabriel.yuyang@huawei.com>2017-09-14 16:04:42 +0800
committerYang Yu <Gabriel.yuyang@huawei.com>2017-09-14 16:37:15 +0800
commitf826a8400a001c4ea3fa69ec3d460053cf155150 (patch)
treea26303253fa27a7cafef7d939f1ed7a7a614c278 /jjb
parentc0362512b35390aedd7dc369b49b0b0122223e2f (diff)
bug-fix: delete directory created by root for workspace cleanup
JIRA: RELENG-311 RT Change-Id: Id6c5306ef02a3c02c270ef0e548c41dde6d1b8b4 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/bottlenecks/bottlenecks-ci-jobs.yml1
-rw-r--r--jjb/bottlenecks/bottlenecks-run-suite.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/jjb/bottlenecks/bottlenecks-ci-jobs.yml b/jjb/bottlenecks/bottlenecks-ci-jobs.yml
index 74e07b018..bb2a13ccc 100644
--- a/jjb/bottlenecks/bottlenecks-ci-jobs.yml
+++ b/jjb/bottlenecks/bottlenecks-ci-jobs.yml
@@ -89,6 +89,7 @@
- timeout:
timeout: 180
abort: true
+ - fix-workspace-permissions
triggers:
- '{auto-trigger-name}'
diff --git a/jjb/bottlenecks/bottlenecks-run-suite.sh b/jjb/bottlenecks/bottlenecks-run-suite.sh
index 6d4d2d8d1..811f9d58c 100644
--- a/jjb/bottlenecks/bottlenecks-run-suite.sh
+++ b/jjb/bottlenecks/bottlenecks-run-suite.sh
@@ -104,6 +104,9 @@ if [[ $SUITE_NAME == *posca* ]]; then
deactivate
+ sudo rm -rf ${RELENG_REPO}/modules/venv
+ sudo rm -rf ${RELENG_REPO}/modules/opnfv.egg-info
+
set -e
cd ${WORKSPACE}