Commit 5ac19cda authored by milvus-ci-robot's avatar milvus-ci-robot
Browse files

format ci/jenkins/jenkinsfile/cleanupSingleDev.groovy


Former-commit-id: dbb278e712ccdd2305b595952ee514299c30283b
parent 89bc523a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
try {
    def helmResult = sh script: "helm status ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu", returnStatus: true
    if (!helmResult) {
        sh "helm del --purge ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu"
    }
} catch (exc) {
    def helmResult = sh script: "helm status ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu", returnStatus: true
    if (!helmResult) {