From f826a8400a001c4ea3fa69ec3d460053cf155150 Mon Sep 17 00:00:00 2001 From: Yang Yu Date: Thu, 14 Sep 2017 16:04:42 +0800 Subject: bug-fix: delete directory created by root for workspace cleanup JIRA: RELENG-311 RT Change-Id: Id6c5306ef02a3c02c270ef0e548c41dde6d1b8b4 Signed-off-by: Yang Yu --- jjb/bottlenecks/bottlenecks-ci-jobs.yml | 1 + jjb/bottlenecks/bottlenecks-run-suite.sh | 3 +++ 2 files changed, 4 insertions(+) (limited to 'jjb') 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} -- cgit 1.2.3-korg