File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ ROOT=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_ROOT:-$(find_root)}
45
45
SHA=$BUILDKITE_COMMIT
46
46
TOKEN=$BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_TOKEN
47
47
URL=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_URL:- https:// api.check-run-reporter.com/ api/ v1/ submissions}
48
+ REPORT_DIR=$BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_REPORT
48
49
49
50
log ' Running check-run-reporter-buildkite-plugin with the following parameters'
50
51
log " LABEL=$LABEL "
@@ -57,7 +58,7 @@ CMD="$CMD -F label'=$LABEL'"
57
58
CMD=" $CMD -F root='$ROOT '"
58
59
CMD=" $CMD -F sha='$SHA '"
59
60
60
- for FILE in $BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_REPORT ; do
61
+ for FILE in $REPORT_DIR ; do
61
62
echo " Preparing to upload '$FILE ' to Check Run Reporter"
62
63
CMD=" $CMD -F 'report=@$( pwd) /$FILE '"
63
64
done
You can’t perform that action at this time.
0 commit comments