ci: generate metrics output in an artifact file
authorJean Privat <jean@pryen.org>
Mon, 15 Jul 2019 15:05:18 +0000 (11:05 -0400)
committerJean Privat <jean@pryen.org>
Mon, 15 Jul 2019 15:05:18 +0000 (11:05 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

.gitlab-ci.yml

index eef488d..13c4390 100644 (file)
@@ -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