[skip e2e]Fix log path for deploy test (#17391)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/17433/head
zhuwenxing 2022-06-08 10:16:06 +08:00 committed by GitHub
parent af108b5bda
commit 11fa3e24dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -318,7 +318,7 @@ pipeline {
always {
echo 'upload logs'
container('main') {
dir ('tests/python_client/chaos') {
dir ('tests/python_client/deploy') {
script {
echo "get pod status"
sh "kubectl get pods -o wide|grep ${env.RELEASE_NAME} || true"
@ -328,7 +328,7 @@ pipeline {
sh "tar -zcvf artifacts-${env.RELEASE_NAME}-logs.tar.gz k8s_log/ --remove-files || true"
archiveArtifacts artifacts: "artifacts-${env.RELEASE_NAME}-logs.tar.gz", allowEmptyArchive: true
if ("${params.keep_env}" == "false"){
sh "bash scripts/uninstall_milvus.sh ${env.RELEASE_NAME}"
sh "bash ../chaos/scripts/uninstall_milvus.sh ${env.RELEASE_NAME}"
}
}
}