|
|
@@ -50,7 +50,7 @@ pipeline {
|
|
|
echo "Borrando las PVC..."
|
|
|
container('kubectl') {
|
|
|
withCredentials([file(credentialsId: env.Destino, variable: 'KUBECONFIG')]) {
|
|
|
- sh 'sh K8S/patchPVC.sh'
|
|
|
+ sh 'sh K8S/patchPVC.sh||true'
|
|
|
sh 'kubectl delete -f K8S/pvc-${NOMBRE_APP}.yaml||true'
|
|
|
sh 'kubectl delete -f K8S/pvc-static.yaml||true'
|
|
|
sh 'kubectl delete -f K8S/pvc-postgresql.yaml||true'
|