Browse Source

feat(jenkins): 禁止并发构建

zengzhixiang 2 years ago
parent
commit
88fbb2e968
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Jenkinsfile

+ 3 - 0
Jenkinsfile

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