disableConcurrentBuilds

This commit is contained in:
Joe Green 2017-09-04 16:02:16 +01:00 committed by GitHub
parent 144a13462e
commit 404749acaf

View file

@ -110,6 +110,9 @@ pipeline {
// The options directive is for configuration that applies to the whole job.
options {
// Only build one at a time
disableConcurrentBuilds()
// we'd like to make sure remove old builds, so we don't fill up our storage!
buildDiscarder(logRotator(numToKeepStr:'50'))