Jenkinsfile: do not activate virtualenv (#32961)
It allows getlasso.sh to work inside tox.
This commit is contained in:
parent
20e0f61b6b
commit
9c3951ceeb
|
@ -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"""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue