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

Adjust the directory structure for archived Logs (#5442)

Signed-off-by: Nquicksilver <zhifeng.zhang@zilliz.com>
上级 63399f5c
...@@ -92,7 +92,7 @@ pipeline { ...@@ -92,7 +92,7 @@ pipeline {
container('main') { container('main') {
script { script {
dir("${env.ARTIFACTS}") { dir("${env.ARTIFACTS}") {
sh "find ./kind -path '*/history/default_milvus-testing*' -type f | xargs tar -zcvf artifacts-milvus-${MILVUS_SERVER_TYPE}-e2e-logs.tar.gz --transform='s:^[^/]*/[^/]*/[^/]*/[^/]*/[^/]*/::g' || true" sh "find ./kind -path '*/history/*' -type f | xargs tar -zcvf artifacts-milvus-${MILVUS_SERVER_TYPE}-e2e-logs.tar.gz --transform='s:^[^/]*/[^/]*/[^/]*/[^/]*/::g' || true"
archiveArtifacts artifacts: "**.tar.gz", allowEmptyArchive: true archiveArtifacts artifacts: "**.tar.gz", allowEmptyArchive: true
sh 'docker rm -f \$(docker network inspect -f \'{{ range \$key, \$value := .Containers }}{{ printf "%s " \$key}}{{ end }}\' kind) || true' sh 'docker rm -f \$(docker network inspect -f \'{{ range \$key, \$value := .Containers }}{{ printf "%s " \$key}}{{ end }}\' kind) || true'
sh 'docker network rm kind || true' sh 'docker network rm kind || true'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册