more bash fixes
This commit is contained in:
parent
b276d74907
commit
479b1861d1
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}
|
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user