more bash fixes
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -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}
|
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user