X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=.jjb-test%2Fexpected-xml%2Fgithub-python-tox-verify-master;h=d04f71ea4bb69e25f380fc4dd77fa9da8caae5aa;hb=b2f5578375c16a3fec8aecfc8e58689f24b98fda;hp=7081949f37c3d7bab4abf9070a80fd09ec6ca38e;hpb=444423bc66f9771b24eba844719c02e133964d67;p=releng%2Fglobal-jjb.git diff --git a/.jjb-test/expected-xml/github-python-tox-verify-master b/.jjb-test/expected-xml/github-python-tox-verify-master index 7081949f..d04f71ea 100644 --- a/.jjb-test/expected-xml/github-python-tox-verify-master +++ b/.jjb-test/expected-xml/github-python-tox-verify-master @@ -281,9 +281,14 @@ set -e -o pipefail ARCHIVE_TOX_DIR="$WORKSPACE/archives/tox" mkdir -p "$ARCHIVE_TOX_DIR" - cd "$WORKSPACE/$TOX_DIR" +if [ -d "/opt/pyenv" ]; then + echo "---> Setting up pyenv" + export PYENV_ROOT="/opt/pyenv" + export PATH="$PYENV_ROOT/bin:$PATH" +fi + if [ ! -z "$TOX_ENVS" ]; then detox -e "$TOX_ENVS" | tee -a "$ARCHIVE_TOX_DIR/detox.log" else