improved Jenkins File

This commit is contained in:
Marcel Peterkau 2025-06-02 10:58:10 +02:00
parent bb824f0376
commit 41d38a2afc

8
Jenkinsfile vendored
View File

@ -21,7 +21,7 @@ pipeline {
steps { steps {
dir('Software') { dir('Software') {
sh """ sh """
python3 -m venv .venv [ -d .venv ] || python3 -m venv .venv
${env.VENV_PATH}/bin/pip install --upgrade pip platformio ${env.VENV_PATH}/bin/pip install --upgrade pip platformio
""" """
} }
@ -72,9 +72,11 @@ wifi_ap_password = DummyAP
} }
} }
stage('🧹 Cleanup') { stage('🧹 Cleanup Build Output') {
steps { steps {
deleteDir() dir('Software') {
sh "rm -rf .pio"
}
} }
} }
} }