From d08e0cfbb39d504ed28282a77e54168b708a59a1 Mon Sep 17 00:00:00 2001 From: Marcel Peterkau Date: Mon, 2 Jun 2025 10:02:09 +0200 Subject: [PATCH] Updated JenkinsFIle again --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index aa60512..d751058 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,6 +4,7 @@ pipeline { environment { BUILD_ENV = "pcb_rev_1-4_serial" PIO_HOME_DIR = "${WORKSPACE}/.pio" + VENV_PATH = "${WORKSPACE}/Software/.venv" } parameters { @@ -27,8 +28,7 @@ pipeline { dir('Software') { sh """ python3 -m venv .venv - source .venv/bin/activate - .venv/bin/pip install --upgrade pip platformio + ${env.VENV_PATH}/bin/pip install --upgrade pip platformio """ } } @@ -52,7 +52,7 @@ wifi_ap_password = DummyAP steps { dir('Software') { sh """ - .venv/bin/platformio run -e ${params.BUILD_ENV} + ${env.VENV_PATH}/bin/platformio run -e ${params.BUILD_ENV} """ } } @@ -81,10 +81,10 @@ wifi_ap_password = DummyAP post { success { - echo "✅ CI abgeschlossen – Firmware gebaut, Dummy-Stages vorbereitet" + echo "✅ CI abgeschlossen – Firmware gebaut, Dummy-Stages bereit" } failure { - echo "❌ Fehler im Build – schau in die Logs, Commander Seraphon" + echo "❌ Fehler im Build – Logs checken, Commander Seraphon" } } }