jenkins: move simulator build into lock
old-commit-hash: add335d9e67f24a3090e09d39d4267b8f5620ff1
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -88,8 +88,8 @@ pipeline {
|
||||
steps {
|
||||
sh "git config --global --add safe.directory ${WORKSPACE}"
|
||||
sh "git lfs pull"
|
||||
sh "${WORKSPACE}/tools/sim/build_container.sh"
|
||||
lock(resource: "", label: "simulator", inversePrecedence: true, quantity: 1) {
|
||||
sh "${WORKSPACE}/tools/sim/build_container.sh"
|
||||
sh "DETACH=1 ${WORKSPACE}/tools/sim/start_carla.sh"
|
||||
sh "${WORKSPACE}/tools/sim/start_openpilot_docker.sh"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user