This commit is contained in:
Guillem Hernandez Sola
2026-06-30 15:48:03 +02:00
parent 4342adc48a
commit b928fdac0d

View File

@@ -26,11 +26,13 @@ pipeline {
set -e
cd "$WORKSPACE"
# Crea el venv
python3 -m venv venv
"$WORKSPACE/venv/bin/pip" install --upgrade pip wheel setuptools
# Usa sempre python3 -m pip, mai el binari pip directament
"$WORKSPACE/venv/bin/python3" -m pip install --upgrade pip wheel setuptools
"$WORKSPACE/venv/bin/pip" install -U \
"$WORKSPACE/venv/bin/python3" -m pip install -U \
atproto \
playwright \
playwright-stealth \
@@ -53,7 +55,7 @@ pipeline {
# Playwright browser binaries
PLAYWRIGHT_BROWSERS_PATH=/var/jenkins_home/.playwright-browsers \
"$WORKSPACE/venv/bin/playwright" install chromium
"$WORKSPACE/venv/bin/python3" -m playwright install chromium
'''
}
}