فهرست منبع

disableConcurrentBuilds

Joe Green 9 سال پیش
والد
کامیت
404749acaf
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  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.
   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'))