mirror of https://github.com/milvus-io/milvus.git
format ci/jenkins/jenkinsfile/cleanupSingleDev.groovy
Former-commit-id: 6ce898ed133881f30c04427369b85055b1a4f97fpull/191/head
parent
1a1c858f1e
commit
0a7434020f
|
@ -1,5 +1,8 @@
|
||||||
try {
|
try {
|
||||||
sh "helm del --purge ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu"
|
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) {
|
} catch (exc) {
|
||||||
def helmResult = sh script: "helm status ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu", returnStatus: true
|
def helmResult = sh script: "helm status ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu", returnStatus: true
|
||||||
if (!helmResult) {
|
if (!helmResult) {
|
||||||
|
|
Loading…
Reference in New Issue