jenkins: move simulator build into lock

pull/24535/head
Adeeb Shihadeh 3 years ago
parent 0f0b4cac89
commit add335d9e6
  1. 2
      Jenkinsfile

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"
}

Loading…
Cancel
Save