From 37164610c5e5a6a53a5e11e59d7b331ed1e8512b Mon Sep 17 00:00:00 2001 From: Mandel Olaiya Date: Sun, 15 Mar 2026 02:06:04 +0100 Subject: [PATCH] Bootstrap pip on minimal agents before virtualenv creation --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 6bf71b4..ddb892c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,6 +33,10 @@ pipeline { steps { sh ''' python3 -m venv .venv || { + python3 -m pip --version >/dev/null 2>&1 || { + curl -fsSL https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py + python3 /tmp/get-pip.py --user + } python3 -m pip install --user virtualenv python3 -m virtualenv .venv }