Jenkinsfile: do not activate virtualenv (#32961)

It allows getlasso.sh to work inside tox.
This commit is contained in:
Benjamin Dauvergne 2019-05-10 12:13:59 +02:00
parent 20e0f61b6b
commit 9c3951ceeb
1 changed files with 0 additions and 1 deletions

1
Jenkinsfile vendored
View File

@ -12,7 +12,6 @@ pipeline {
sh "mkdir ${env.TMPDIR}"
sh """
virtualenv -p python3 ${env.TMPDIR}/venv/
. ${env.TMPDIR}/venv/bin/activate
${env.TMPDIR}/venv/bin/pip install tox
PGPORT=`python -c 'import struct; import socket; s=socket.socket(); s.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER, struct.pack("ii", 1, 0)); s.bind(("", 0)); print(s.getsockname()[1]); s.close()'` pg_virtualenv -o fsync=off ${env.TMPDIR}/venv/bin/tox -rv"""
}