瀏覽代碼

Si falla la shell que devuelva true

Celestino Rey 1 年之前
父節點
當前提交
1050cd3725
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -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'