Skip to content

Commit 8e3cfff

Browse files
authored
Merge pull request #4 from Phoenix7351/tiffner/oracle
Update upload location
2 parents cbcd1ee + fca37d2 commit 8e3cfff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hooks/command

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ RUBY_IMAGE="${BUILDKITE_PLUGIN_JUNIT_ANNOTATE_RUBY_IMAGE:-ruby:3.1-alpine@sha256
1414
artifacts_dir="$(pwd)/$(mktemp -d "junit-annotate-plugin-artifacts-tmp.XXXXXXXXXX")"
1515
annotation_dir="$(pwd)/$(mktemp -d "junit-annotate-plugin-annotation-tmp.XXXXXXXXXX")"
1616
failures_file_path="./failures_artifacts_names.txt"
17+
processing_annotation_path="./processing_annotation.md"
1718
annotation_path="${annotation_dir}/annotation.md"
1819
annotation_style="info"
1920
fail_build=0
@@ -96,7 +97,8 @@ elif [[ $exit_code -ne 0 ]]; then
9697
fi
9798

9899
cat "$annotation_path"
99-
buildkite-agent artifact upload "${annotation_path}"
100+
cat "$annotation_path" > "$processing_annotation_path"
101+
buildkite-agent artifact upload "${processing_annotation_path}"
100102

101103
if [ $has_errors -eq 0 ]; then
102104
# done in nested if to simplify outer conditions

0 commit comments

Comments
 (0)