don't clog up jenkins build queue

This commit is contained in:
Adeeb Shihadeh 2022-12-07 22:23:41 -08:00
parent 4edd1a6021
commit 93ecd31d3d
1 changed files with 5 additions and 0 deletions

5
Jenkinsfile vendored
View File

@ -19,6 +19,11 @@ pipeline {
PARTIAL_TESTS = "${env.BRANCH_NAME == 'master' ? ' ' : '1'}"
DOCKER_IMAGE_TAG = "panda:build-${env.GIT_COMMIT}"
}
options {
timeout(time: 3, unit: 'HOURS')
disableConcurrentBuilds(abortPrevious: env.BRANCH_NAME != 'master')
}
stages {
stage ('Acquire resource locks') {
options {