提交 6205ac40 编写于 作者: J Jeff

Merge branch 'branch-0.3.1' into 'branch-0.3.1'

format jenkins groovy file

See merge request megasearch/milvus!214

Former-commit-id: a941bec3d3da5a68bdf31ff60c669eea4f4facc2
......@@ -6,7 +6,7 @@ timeout(time: 10, unit: 'MINUTES') {
sh "pytest . --alluredir=cluster_test_out --ip ${env.JOB_NAME}-${env.BUILD_NUMBER}-cluster-milvus-cluster-proxy.milvus-cluster.svc.cluster.local"
}
} catch (exc) {
echo 'Milvus Test Failed !'
echo 'Milvus Cluster Test Failed !'
throw exc
}
}
......@@ -12,7 +12,10 @@ container('publish-docker') {
def customImage = docker.build("${PROJECT_NAME}/engine:${DOCKER_VERSION}")
customImage.push()
}
if (currentBuild.resultIsBetterOrEqualTo('SUCCESS')) {
updateGitlabCommitStatus name: 'Publish Engine Docker', state: 'success'
echo "Docker Pull Command: docker pull registry.zilliz.com/${PROJECT_NAME}/engine:${DOCKER_VERSION}"
}
} catch (exc) {
updateGitlabCommitStatus name: 'Publish Engine Docker', state: 'canceled'
throw exc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册