Avoid failure to install zuul when venv exists
Fixes case where a succesfull creation of the virtualenv but failure to install zuul would make the function useless as it would always miss installing zull. Change-Id: Ie5ef82765120094e8147b05443626e2012273fba
This commit is contained in:
parent
d2bd6faf5e
commit
03f7aad550
|
@ -191,6 +191,9 @@ export WORKSPACE=\`pwd\`
|
|||
|
||||
if [[ ! -e /usr/zuul-env ]]; then
|
||||
virtualenv /usr/zuul-env
|
||||
fi
|
||||
|
||||
if [[ ! -e /usr/zuul-env/bin/zuul-cloner ]]; then
|
||||
/usr/zuul-env/bin/pip install zuul
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue