improved Jenkins File
This commit is contained in:
parent
bb824f0376
commit
41d38a2afc
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -21,7 +21,7 @@ pipeline {
|
||||
steps {
|
||||
dir('Software') {
|
||||
sh """
|
||||
python3 -m venv .venv
|
||||
[ -d .venv ] || python3 -m venv .venv
|
||||
${env.VENV_PATH}/bin/pip install --upgrade pip platformio
|
||||
"""
|
||||
}
|
||||
@ -72,9 +72,11 @@ wifi_ap_password = DummyAP
|
||||
}
|
||||
}
|
||||
|
||||
stage('🧹 Cleanup') {
|
||||
stage('🧹 Cleanup Build Output') {
|
||||
steps {
|
||||
deleteDir()
|
||||
dir('Software') {
|
||||
sh "rm -rf .pio"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user