diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3144c2581d446c0522f03be1e091ecfbb5f875ce..e776dd5550e0821777b32500c2685dcdeb379e1c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@ buildjob:
   tags:
   - coq
   script:
-  - 'make -j8 TIMED=y | tee build-log.txt'
+  - 'make -j8 TIMED=y 2>&1 | tee build-log.txt'
   - 'cat build-log.txt  | egrep "[a-zA-Z0-9_/-]+ \(user: [0-9]" > build-time.txt'
   artifacts:
     paths: