summaryrefslogtreecommitdiffstats
path: root/jjb/bottlenecks
diff options
context:
space:
mode:
authorGabriel Yu <Gabriel.yuyang@huawei.com>2017-10-11 16:24:54 +0800
committerGabriel Yu <Gabriel.yuyang@huawei.com>2017-10-11 16:30:34 +0800
commit32d6e5b861609fc9ecf59e36b516001b6da20062 (patch)
treecfdbbfad1728de7f962cff64f261bce022b15c36 /jjb/bottlenecks
parent2ec02b9acd6bcdf251ef5ae1cb8a4a304aed1195 (diff)
bug-fix: do not have permission to execute sudo pip
JIRA: BOTTLENECK-211 This patch is to fix the bug by adding -H flag to sudo, i.e., sudo -H pip install ... Change-Id: Icdb187660cc1e08e134a79592e7454b77576f457 Signed-off-by: Gabriel Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'jjb/bottlenecks')
-rw-r--r--jjb/bottlenecks/bottlenecks-run-suite.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/bottlenecks/bottlenecks-run-suite.sh b/jjb/bottlenecks/bottlenecks-run-suite.sh
index f0b8a4070..c34906283 100644
--- a/jjb/bottlenecks/bottlenecks-run-suite.sh
+++ b/jjb/bottlenecks/bottlenecks-run-suite.sh
@@ -72,7 +72,7 @@ if [[ $SUITE_NAME == *posca* ]]; then
set +e
- sudo pip install virtualenv
+ sudo -H pip install virtualenv
cd ${RELENG_REPO}/modules
sudo virtualenv venv