Add -H for sudo pip install
Without -H, the command of "sudo pip install" will create a cache directory under jenkins' home directory which is owned by root. The remaining "pip install" commands with jenkins will fail due to permission issue. Currently we changed devstack-gate to use "sudo" to run "pip install" to avoid this issue. With this fix, this workaround is not needed anymore. Change-Id: Ibc8fbaa90ca6cb6b104ae064e7f79c619a925742
This commit is contained in:
parent
2cb082ddd8
commit
b704473926
@ -177,7 +177,7 @@ done
|
||||
# For development:
|
||||
export SKIP_DEVSTACK_GATE_PROJECT=1
|
||||
|
||||
sudo pip install pyyaml
|
||||
sudo -H pip install pyyaml
|
||||
|
||||
LOCATION_OF_LOCAL_GIT_REPOSITORIES=/opt/git
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user