rwx results

Get results for a run.

Usage

rwx results [run-id | run-id --task <key>] [flags]

Arguments

[run-id]

The ID of the run to get results for. You can find the run ID in the URL when viewing a run in the RWX UI.

If not provided, the CLI will infer the most recent run for the current repository/branch.

Alternatively, pass a run ID with --task <key> to resolve the task by key.

Options

--task <key>

Resolve the task by key (e.g. ci.checks.lint) instead of ID. Use with a run ID as the first argument.

--wait

Poll until the run completes or reaches its first failure, then report additional details.

--fail-fast

Stop waiting when failures are available. Only has an effect when used with --wait.

--branch <branch>

Get results for a specific branch instead of the current git branch.

--repo <repo>

Get results for a specific repository instead of the current git repository.

--commit <sha>

Get results for a specific commit SHA.

--definition <path>

Get results for a specific definition path.

--open

Open the run in a browser.

Global Options

--output <format>

Output format: text or json. Defaults to text.

Example JSON output:

{
  "RunID": "ee9fedf84db04b0392e9f1f58d9ad29c",
  "ResultStatus": "succeeded",
  "Completed": true
}

--access-token <token>

The access token for RWX. Defaults to the value of the $RWX_ACCESS_TOKEN environment variable.