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