jenkins: lock "pc" label to limit concurrent workers (#30902)

* lock pc label

* remove that
pull/30828/head^2
Justin Newberry 1 year ago committed by GitHub
parent 318d1204e5
commit 4430944b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Jenkinsfile

2
Jenkinsfile vendored

@ -110,6 +110,7 @@ def pcStage(String stageName, Closure body) {
return docker.build("openpilot-base:build-${env.GIT_COMMIT}", "-f Dockerfile.openpilot_base .")
}
lock(resource: "", label: 'pc', inversePrecedence: true, quantity: 1) {
openpilot_base.inside(dockerArgs) {
timeout(time: 20, unit: 'MINUTES') {
try {
@ -128,6 +129,7 @@ def pcStage(String stageName, Closure body) {
}
}
}
}
def setupCredentials() {
withCredentials([

Loading…
Cancel
Save