build: use urllib3 < 2 with Jenkins jobs Builder

jenkins-job-builder does not seem to work with urllib3 2.x, force using
version 1.x as a workaround.

Updates: #3946
Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2023-06-27 13:35:55 +02:00 committed by mergify[bot]
parent a6ac81133f
commit 3592bbedbb

View File

@ -1,8 +1,9 @@
FROM quay.io/centos/centos:stream9 FROM quay.io/centos/centos:stream9
# FIXME #3946: jenkins-job-builder does not seem to work with urllib3 2.x
RUN true \ RUN true \
&& dnf -y install git make python3-pip \ && dnf -y install git make python3-pip \
&& pip3 install jenkins-job-builder \ && pip3 install jenkins-job-builder 'urllib3>=1.26.15,<2' \
&& dnf -y clean all \ && dnf -y clean all \
&& true && true