Skip to content

Commit

Permalink
ci: generate metrics output in an artifact file
Browse files Browse the repository at this point in the history
Signed-off-by: Jean Privat <[email protected]>
  • Loading branch information
privat committed Jul 15, 2019
1 parent eda9a4d commit 9da9302
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ nitmetrics:
dependencies:
- build_more_tools
script:
- nitmetrics --all --log --log-dir nitmetrics.out --dir nitmetrics.out --keep-going lib src
- mkdir -p nitmetrics.out
- nitmetrics --all --log --log-dir nitmetrics.out --dir nitmetrics.out --keep-going lib src | tee nitmetrics.out/metrics.txt
artifacts:
paths:
- nitmetrics.out
Expand Down

0 comments on commit 9da9302

Please sign in to comment.