penv
This commit is contained in:
@@ -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
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user