Add virtualenv fallback for agents without python3-venv

This commit is contained in:
2026-03-15 02:04:32 +01:00
parent c745758cef
commit 2c3d5e0e1f

5
Jenkinsfile vendored
View File

@@ -32,7 +32,10 @@ pipeline {
stage('Build') {
steps {
sh '''
python3 -m venv .venv
python3 -m venv .venv || {
python3 -m pip install --user virtualenv
python3 -m virtualenv .venv
}
. .venv/bin/activate
pip install coverage
pip install --upgrade pip "setuptools==69.5.1" wheel