mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-01 08:28:10 +08:00
* add test enviroment images * update test enviroment images Dockerfile * Use Helm version 3 on Jenkins CI * Use Helm version 3 on Jenkins CI * Use Helm version 3 on Jenkins CI * Use Helm version 3 on Jenkins CI
13 lines
424 B
Groovy
13 lines
424 B
Groovy
try {
|
|
def helmResult = sh script: "helm status -n milvus ${env.HELM_RELEASE_NAME}", returnStatus: true
|
|
if (!helmResult) {
|
|
sh "helm uninstall -n milvus ${env.HELM_RELEASE_NAME}"
|
|
}
|
|
} catch (exc) {
|
|
def helmResult = sh script: "helm status -n milvus ${env.HELM_RELEASE_NAME}", returnStatus: true
|
|
if (!helmResult) {
|
|
sh "helm uninstall -n milvus ${env.HELM_RELEASE_NAME}"
|
|
}
|
|
throw exc
|
|
}
|