creylopez 11 месяцев назад
Родитель
Сommit
6e0d256ddb
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      Jenkinsfile

+ 4 - 2
Jenkinsfile

@@ -31,7 +31,8 @@ pipeline {
             sh 'kubectl create -f K8S/pvc-static.yaml'
             sh 'kubectl create -f K8S/pvc-static.yaml'
             sh 'kubectl create -f K8S/pvc-postgresql.yaml'
             sh 'kubectl create -f K8S/pvc-postgresql.yaml'
           }
           }
-        }      
+        }
+      }      
     }
     }
 
 
     stage('Borra las PVC') {
     stage('Borra las PVC') {
@@ -46,7 +47,8 @@ pipeline {
             sh 'kubectl delete -f K8S/pvc-static.yaml||true'
             sh 'kubectl delete -f K8S/pvc-static.yaml||true'
             sh 'kubectl delete -f K8S/pvc-postgresql.yaml||true'
             sh 'kubectl delete -f K8S/pvc-postgresql.yaml||true'
           }
           }
-        }      
+        }
+      }     
     }
     }
 
 
     stage('Borra todo') {
     stage('Borra todo') {