Explorar el Código

add timeout for prodK8s.Jenkinsfile

Tomishinets Vladimir hace 4 años
padre
commit
ed45ff3d5d
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 1
      devK8s.Jenkinsfile
  2. 1 0
      prodK8s.Jenkinsfile

+ 1 - 1
devK8s.Jenkinsfile

@@ -4,7 +4,7 @@ pipeline {
   options {
     buildDiscarder logRotator(numToKeepStr: '10')
     disableConcurrentBuilds()
-    timeout(time: 1, unit: 'MINUTES')
+    timeout(time: 10, unit: 'MINUTES')
   }
   agent {
     kubernetes {

+ 1 - 0
prodK8s.Jenkinsfile

@@ -4,6 +4,7 @@ pipeline {
   options {
     buildDiscarder logRotator(numToKeepStr: '10')
     disableConcurrentBuilds()
+    timeout(time: 10, unit: 'MINUTES')
   }
   agent {
     kubernetes {