From 9c3951ceeb935d85c0ddea1d41c4a52d7e4acad2 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 10 May 2019 12:13:59 +0200 Subject: [PATCH] Jenkinsfile: do not activate virtualenv (#32961) It allows getlasso.sh to work inside tox. --- Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5d0f9a1f8..fa41de46b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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""" }