mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add more check step in jenkins pipline (#16188)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/16194/head
parent
54bae78130
commit
25ac724d55
|
@ -228,7 +228,22 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
stage ('Verify all collections after chaos') {
|
||||||
|
options {
|
||||||
|
timeout(time: 10, unit: 'MINUTES') // timeout on this stage
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
container('main') {
|
||||||
|
dir ('tests/python_client/chaos') {
|
||||||
|
script {
|
||||||
|
def host = sh(returnStdout: true, script: "kubectl get svc/${env.RELEASE_NAME}-milvus -o jsonpath=\"{.spec.clusterIP}\"").trim()
|
||||||
|
sh "python3 scripts/verify_all_collections.py --host $host"
|
||||||
|
sh "kubectl get pods|grep ${env.RELEASE_NAME}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
|
Loading…
Reference in New Issue