Skip to content

Commit ec2666c

Browse files
1 parent 097b6a1 commit ec2666c

File tree

6 files changed

+6
-10
lines changed

6 files changed

+6
-10
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.3:
21+
- check-run-reporter/check-run-reporter#v2.11.0:
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.3:
40+
- check-run-reporter/check-run-reporter#v2.11.0:
4141
tests: 'src/**/*.spec.ts,!src/storyshots.spec.ts'
4242
report: 'reports/junit/**/*.xml'
4343
token: '<your repo token>'

bin/crr-linux

19.9 KB
Binary file not shown.

bin/crr-macos

19.9 KB
Binary file not shown.

bin/crr-windows.exe

20 KB
Binary file not shown.

hooks/post-command

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

46-
HOSTNAME=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_HOSTNAME:-api.check-run-reporter.com}
46+
HOSTNAME=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_HOSTNAME:-''}
4747
LABEL=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_LABEL:-$BUILDKITE_LABEL}
4848
ROOT=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_ROOT:-$(find_root)}
4949
SHA=$BUILDKITE_COMMIT
5050
TOKEN=$BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_TOKEN
51-
URL=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_URL:-https://api.check-run-reporter.com/api/v1/submissions}
5251
REPORT_DIR=$BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_REPORT
5352

5453
log 'Running check-run-reporter-buildkite-plugin with the following parameters'
@@ -71,7 +70,6 @@ $BIN submit \
7170
--report="$REPORT_DIR" \
7271
--root="$ROOT" \
7372
--sha="$SHA" \
74-
--token="$TOKEN" \
75-
--url="$URL"
73+
--token="$TOKEN"
7674

7775
echo "Uploaded reports to Check Run Reporter"

hooks/pre-command

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

13-
HOSTNAME=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_HOSTNAME:-api.check-run-reporter.com}
13+
HOSTNAME=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_HOSTNAME:-''}
1414
LABEL=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_LABEL:-$BUILDKITE_LABEL}
1515
TOKEN=$BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_TOKEN
1616
TESTS=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_TESTS:-''}
17-
URL=${BUILDKITE_PLUGIN_CHECK_RUN_REPORTER_URL:-https://api.check-run-reporter.com/api/v1/split}
1817

1918
if [ -z "$TESTS" ]; then
2019
exit 0
@@ -45,7 +44,6 @@ CHECK_RUN_REPORTER_TESTS_FOR_THIS_AGENT=$($BIN split \
4544
--nodeCount="$NODE_COUNT" \
4645
--nodeIndex="$NODE_INDEX" \
4746
--tests="$TESTS" \
48-
--token="$TOKEN" \
49-
--url="$URL")
47+
--token="$TOKEN")
5048

5149
echo "Got distributed tests for this node from Check Run Reporter"

0 commit comments

Comments
 (0)