Selaa lähdekoodia

feat(jenkins): 禁止并发构建

zengzhixiang 2 vuotta sitten
vanhempi
commit
88fbb2e968
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      Jenkinsfile

+ 3 - 0
Jenkinsfile

@@ -7,6 +7,9 @@ pipeline {
   // environment{
   //   host = '172.17.1.22'
   // }
+  options{
+    disableConcurrentBuilds()
+  }
 
   triggers {
     GenericTrigger(