[ci] escape artifacts paths

That fixes issues like https://buildkite.com/llvm-project/github-pull-requests/builds/1350#018a8848-f70e-47f4-8aec-0bb48c49a7ca
This commit is contained in:
Mikhail Goncharov 2023-09-12 12:11:18 +02:00
parent 6d2aaa5fdb
commit bcdba86f25
2 changed files with 9 additions and 9 deletions

View File

@ -238,9 +238,9 @@ if [[ "${linux_projects}" != "" ]]; then
cat <<EOF
- label: ':linux: Linux x64'
artifact_paths:
- artifacts/**/*
- *_result.json
- build/test-results.xml
- 'artifacts/**/*'
- '*_result.json'
- 'build/test-results.xml'
agents: ${LINUX_AGENTS}
retry:
automatic:
@ -261,9 +261,9 @@ if [[ "${windows_projects}" != "" ]]; then
cat <<EOF
- label: ':windows: Windows x64'
artifact_paths:
- artifacts/**/*
- *_result.json
- build/test-results.xml
- 'artifacts/**/*'
- '*_result.json'
- 'build/test-results.xml'
agents: ${WINDOWS_AGENTS}
retry:
automatic:
@ -290,7 +290,7 @@ if [[ -n "${ph_target_phid:-}" ]]; then
- label: ':phabricator: update build status on Phabricator'
agents: ${SERVICE_AGENTS}
artifact_paths:
- artifacts/**/*
- 'artifacts/**/*'
commands:
- export SRC=\$\${BUILDKITE_BUILD_PATH}/llvm-premerge-checks
- rm -rf \$\${SRC}

View File

@ -42,7 +42,7 @@ steps:
- label: ':linux: Linux x64'
artifact_paths:
- artifacts/**/*
- 'artifacts/**/*'
- '*_result.json'
- 'build/test-results.xml'
agents: ${LINUX_AGENTS}
@ -61,7 +61,7 @@ steps:
- label: ':windows: Windows x64'
artifact_paths:
- artifacts/**/*
- 'artifacts/**/*'
- '*_result.json'
- 'build/test-results.xml'
agents: ${WINDOWS_AGENTS}