penv
This commit is contained in:
@@ -26,11 +26,13 @@ pipeline {
|
|||||||
set -e
|
set -e
|
||||||
cd "$WORKSPACE"
|
cd "$WORKSPACE"
|
||||||
|
|
||||||
|
# Crea el venv
|
||||||
python3 -m venv 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 \
|
atproto \
|
||||||
playwright \
|
playwright \
|
||||||
playwright-stealth \
|
playwright-stealth \
|
||||||
@@ -53,7 +55,7 @@ pipeline {
|
|||||||
|
|
||||||
# Playwright browser binaries
|
# Playwright browser binaries
|
||||||
PLAYWRIGHT_BROWSERS_PATH=/var/jenkins_home/.playwright-browsers \
|
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