Przeglądaj źródła

disableConcurrentBuilds

Joe Green 9 lat temu
rodzic
commit
404749acaf
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      services/web/Jenkinsfile

+ 3 - 0
services/web/Jenkinsfile

@@ -110,6 +110,9 @@ pipeline {
 
 
   // The options directive is for configuration that applies to the whole job.
   // The options directive is for configuration that applies to the whole job.
   options {
   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!
     // we'd like to make sure remove old builds, so we don't fill up our storage!
     buildDiscarder(logRotator(numToKeepStr:'50'))
     buildDiscarder(logRotator(numToKeepStr:'50'))