diff --git a/cli/checkly-test.mdx b/cli/checkly-test.mdx index 4adb6506..61440d03 100644 --- a/cli/checkly-test.mdx +++ b/cli/checkly-test.mdx @@ -284,8 +284,8 @@ npx checkly test --reporter ci # GitHub Actions reporter npx checkly test --reporter github -# JSON output for programmatic use -npx checkly test --reporter json > results.json +# JSON report, written to checkly-json-report.json in the current directory +npx checkly test --reporter json # Multiple reporters using comma-separated values npx checkly test --reporter list,json @@ -297,6 +297,8 @@ npx checkly test --reporter list --reporter json npx checkly test -r github -r json ``` +The `json` reporter writes its report to `checkly-json-report.json` in the current directory and prints a summary and the path of that file. From CLI v10.0.0 on, `checkly test` writes only the reporter output to stdout. Progress messages such as `Parsing your project...` and `Running 1 checks in eu-west-1.` go to stderr. Earlier versions print them to stdout, mixed with the reporter output. + diff --git a/cli/checkly-trigger.mdx b/cli/checkly-trigger.mdx index 0e113e69..baf14515 100644 --- a/cli/checkly-trigger.mdx +++ b/cli/checkly-trigger.mdx @@ -266,8 +266,8 @@ npx checkly trigger --reporter ci # GitHub Actions reporter npx checkly trigger --reporter github -# JSON output for programmatic use -npx checkly trigger --reporter json > results.json +# JSON report, written to checkly-json-report.json in the current directory +npx checkly trigger --reporter json # Multiple reporters using comma-separated values npx checkly trigger --reporter list,json @@ -279,6 +279,8 @@ npx checkly trigger --reporter list --reporter json npx checkly trigger -r github -r json ``` +The `json` reporter writes its report to `checkly-json-report.json` in the current directory and prints a summary and the path of that file. From CLI v10.0.0 on, `checkly trigger` writes only the reporter output to stdout. The progress message `Running 1 checks in eu-west-1.` goes to stderr. Earlier versions print it to stdout, mixed with the reporter output. +