-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a88cad
commit bb0d70f
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# ncu-ci | ||
|
||
Parse the results of a Jenkins CI run in https://ci.nodejs.org/ and display | ||
a summary for all the failures. | ||
|
||
Supported jobs: | ||
|
||
- [node-test-pull-request](https://ci.nodejs.org/job/node-test-pull-request) | ||
- [node-test-commit](https://ci.nodejs.org/job/node-test-commit) | ||
- [benchmark-node-micro-benchmarks](https://ci.nodejs.org/job/benchmark-node-micro-benchmarks/) | ||
|
||
``` | ||
ncu-ci <command> | ||
Commands: | ||
ncu-ci url <url> Automatically detect CI type and show results | ||
ncu-ci pr <jobid> Show results of a node-test-pull-request CI job | ||
ncu-ci commit <jobid> Show results of a node-test-commit CI job | ||
ncu-ci benchmark <jobid> Show results of a benchmark-node-micro-benchmarks CI | ||
job | ||
Options: | ||
--version Show version number [boolean] | ||
--copy Write the results as markdown to clipboard [default: false] | ||
--help Show help [boolean] | ||
``` | ||
|
||
## Example | ||
|
||
Get the CI results of PR 12345 (including latest results of each type of | ||
supported CI) and copy the summaries into clipboard: | ||
|
||
``` | ||
ncu-ci url https://github.com/nodejs/node/pull/12345 --copy | ||
``` | ||
|
||
Get the results of job #12345 of `node-test-pull-request`: | ||
|
||
``` | ||
ncu-ci pr 12345 | ||
``` | ||
|
||
## Caveats | ||
|
||
The CI failures are parsed using pattern matching and could be incorrect. Feel | ||
free to open a pull request whenever you find a case that ncu-ci does not handle | ||
well. |