jenkins: lock simulator

pull/24844/head
Adeeb Shihadeh 3 years ago
parent e7cad559a6
commit 3db36a1958
  1. 2
      Jenkinsfile

2
Jenkinsfile vendored

@ -89,9 +89,11 @@ pipeline {
sh "git config --global --add safe.directory ${WORKSPACE}" sh "git config --global --add safe.directory ${WORKSPACE}"
sh "git lfs pull" sh "git lfs pull"
sh "${WORKSPACE}/tools/sim/build_container.sh" sh "${WORKSPACE}/tools/sim/build_container.sh"
lock(resource: "", label: "simulator", inversePrecedence: true, quantity: 1) {
sh "DETACH=1 ${WORKSPACE}/tools/sim/start_carla.sh" sh "DETACH=1 ${WORKSPACE}/tools/sim/start_carla.sh"
sh "${WORKSPACE}/tools/sim/start_openpilot_docker.sh" sh "${WORKSPACE}/tools/sim/start_openpilot_docker.sh"
} }
}
post { post {
always { always {

Loading…
Cancel
Save