File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 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+ ``` 
42+ 
43+ ## Caveats  
44+ 
45+ The CI failures are parsed using pattern matching and could be incorrect. Feel
46+ free to open a pull request whenever you find a case that ncu-ci does not handle
47+ well.
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments