ci: limit tox version used while running tests (#72165)

This commit is contained in:
Paul Marillonnet 2022-12-08 10:44:58 +01:00
parent aaeaf0064e
commit fab6faee6e
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -12,7 +12,7 @@ pipeline {
sh "mkdir ${env.TMPDIR}"
sh """
/usr/bin/python3 -m venv ${env.TMPDIR}/venv/
${env.TMPDIR}/venv/bin/pip install tox
${env.TMPDIR}/venv/bin/pip install "tox<4"
PGPORT=`python3 -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 -r"""
}
post {