mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
Wait for helm uninstall chart (#2142)
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
1384484b7d
commit
ac2c25212f
@ -13,6 +13,7 @@ timeout(time: 180, unit: 'MINUTES') {
|
||||
def helmResult = sh script: "helm status -n milvus ${env.SHARDS_HELM_RELEASE_NAME}", returnStatus: true
|
||||
if (!helmResult) {
|
||||
sh "helm uninstall -n milvus ${env.SHARDS_HELM_RELEASE_NAME}"
|
||||
sleep 30
|
||||
}
|
||||
throw exc
|
||||
}
|
||||
|
||||
@ -13,6 +13,7 @@ timeout(time: 180, unit: 'MINUTES') {
|
||||
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}"
|
||||
sleep 30
|
||||
}
|
||||
throw exc
|
||||
}
|
||||
@ -42,6 +43,7 @@ timeout(time: 180, unit: 'MINUTES') {
|
||||
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}"
|
||||
sleep 30
|
||||
}
|
||||
throw exc
|
||||
}
|
||||
|
||||
@ -13,6 +13,7 @@ timeout(time: 120, unit: 'MINUTES') {
|
||||
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}"
|
||||
sleep 30
|
||||
}
|
||||
throw exc
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user