Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 035eb9f

Browse files
committedMay 31, 2018
ncu-ci: add docs
1 parent 72782dd commit 035eb9f

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
 

‎docs/ncu-ci.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# ncu-ci
2+
3+
Parse the results of a Jenkins CI run in https://ci.nodejs.org/ and display
4+
a summary for all the failures.
5+
6+
Supported jobs:
7+
8+
- [node-test-pull-request](https://ci.nodejs.org/job/node-test-pull-request)
9+
- [node-test-commit](https://ci.nodejs.org/job/node-test-commit)
10+
- [benchmark-node-micro-benchmarks](https://ci.nodejs.org/job/benchmark-node-micro-benchmarks/)
11+
12+
```
13+
ncu-ci <command>
14+
15+
Commands:
16+
ncu-ci url <url> Automatically detect CI type and show results
17+
ncu-ci pr <jobid> Show results of a node-test-pull-request CI job
18+
ncu-ci commit <jobid> Show results of a node-test-commit CI job
19+
ncu-ci benchmark <jobid> Show results of a benchmark-node-micro-benchmarks CI
20+
job
21+
22+
Options:
23+
--version Show version number [boolean]
24+
--copy Write the results as markdown to clipboard [default: false]
25+
--help Show help [boolean]
26+
```
27+
28+
## Example
29+
30+
Get the CI results of PR 12345 (including latest results of each type of
31+
supported CI) and copy the summaries into clipboard:
32+
33+
```
34+
ncu-ci url https://github.com/nodejs/node/pull/12345 --copy
35+
```
36+
37+
Get the results of job #12345 of `node-test-pull-request`:
38+
39+
```
40+
ncu-ci pr 12345
41+
```

0 commit comments

Comments
 (0)
Please sign in to comment.