소스 검색

Add timeout 5 min to jenkins pipeline

Vadim Surkov 6 년 전
부모
커밋
cc81058218
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      Jenkinsfile

+ 3 - 0
Jenkinsfile

@@ -2,6 +2,9 @@ pipeline {
   agent {
     label "swarm"
   }
+  options {
+    disableConcurrentBuilds()
+    timeout(time: 5, unit: 'MINUTES')
   environment {
     DOCKER_IMAGE='node'
     SWARM_GIT_URL='ssh://git@git.sdsys.ru:8022/iru/stack-deploy.git'