diff --git a/Jenkinsfile b/Jenkinsfile index b3d95ee..aa60512 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,10 +26,9 @@ pipeline { steps { dir('Software') { sh """ - #!/bin/bash python3 -m venv .venv 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 { dir('Software') { sh """ - #!/bin/bash - source .venv/bin/activate - platformio run -e ${params.BUILD_ENV} + .venv/bin/platformio run -e ${params.BUILD_ENV} """ } }