Skip to content

Commit b939f3d

Browse files
1 parent 430cfa2 commit b939f3d

File tree

6 files changed

+6
-2
lines changed

6 files changed

+6
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ them back to GitHub as Check Runs.
1818
steps:
1919
- command: npm test
2020
plugins:
21-
- check-run-reporter/check-run-reporter#v2.10.1:
21+
- check-run-reporter/check-run-reporter#v2.10.2:
2222
report: 'reports/junit/**/*.xml'
2323
token: '<your repo token>'
2424
```
@@ -37,7 +37,7 @@ should run on this host.
3737
steps:
3838
- command: npm test -- $$CHECK_RUN_REPORTER_TESTS_FOR_THIS_AGENT
3939
plugins:
40-
- check-run-reporter/check-run-reporter#v2.10.1:
40+
- check-run-reporter/check-run-reporter#v2.10.2:
4141
tests: 'src/**/*.spec.ts,!src/storyshots.spec.ts'
4242
report: 'reports/junit/**/*.xml'
4343
token: '<your repo token>'

bin/crr-linux

-32 Bytes
Binary file not shown.

bin/crr-macos

0 Bytes
Binary file not shown.

bin/crr-windows.exe

40 Bytes
Binary file not shown.

hooks/post-command

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ log () {
4343
echo "$@" 1>&2
4444
}
4545

46+
HOSTNAME=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_HOSTNAME:-api.check-run-reporter.com}
4647
LABEL=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_LABEL:-$BUILDKITE_LABEL}
4748
ROOT=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_ROOT:-$(find_root)}
4849
SHA=$BUILDKITE_COMMIT
@@ -65,6 +66,7 @@ else
6566
fi
6667

6768
$BIN submit \
69+
--hostname="$HOSTNAME" \
6870
--label="$LABEL" \
6971
--report="$REPORT_DIR" \
7072
--root="$ROOT" \

hooks/pre-command

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ log () {
1010
echo "$@" 1>&2
1111
}
1212

13+
HOSTNAME=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_HOSTNAME:-api.check-run-reporter.com}
1314
LABEL=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_LABEL:-$BUILDKITE_LABEL}
1415
TOKEN=$BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_TOKEN
1516
TESTS=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_TESTS:-''}
@@ -39,6 +40,7 @@ fi
3940

4041
export CHECK_RUN_REPORTER_TESTS_FOR_THIS_AGENT
4142
CHECK_RUN_REPORTER_TESTS_FOR_THIS_AGENT=$($BIN split \
43+
--hostname="$HOSTNAME" \
4244
--label="$LABEL" \
4345
--nodeCount="$NODE_COUNT" \
4446
--nodeIndex="$NODE_INDEX" \

0 commit comments

Comments
 (0)