[skip e2e]Add more check step in jenkins pipline (#16188)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/16194/head
zhuwenxing 2022-03-25 14:35:25 +08:00 committed by GitHub
parent 54bae78130
commit 25ac724d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 2 deletions

View File

@ -227,9 +227,24 @@ 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 {
always {