未验证 提交 ac2c2521 编写于 作者: Q quicksilver 提交者: GitHub

Wait for helm uninstall chart (#2142)

Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>
上级 1384484b
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册