more bash fixes

This commit is contained in:
Marcel Peterkau 2025-06-02 09:55:26 +02:00
parent b276d74907
commit 479b1861d1

7
Jenkinsfile vendored
View File

@ -26,10 +26,9 @@ pipeline {
steps { steps {
dir('Software') { dir('Software') {
sh """ sh """
#!/bin/bash
python3 -m venv .venv python3 -m venv .venv
source .venv/bin/activate source .venv/bin/activate
pip install --upgrade pip platformio .venv/bin/pip install --upgrade pip platformio
""" """
} }
} }
@ -53,9 +52,7 @@ wifi_ap_password = DummyAP
steps { steps {
dir('Software') { dir('Software') {
sh """ sh """
#!/bin/bash .venv/bin/platformio run -e ${params.BUILD_ENV}
source .venv/bin/activate
platformio run -e ${params.BUILD_ENV}
""" """
} }
} }