From 93c41de8655bd4ff8bf02a964ec9201f0e9eecea Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 17 Sep 2021 00:44:32 +0300
Subject: [PATCH] And another attempt.

---
 templates/bats.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/bats.yml b/templates/bats.yml
index b29d4fd..5ef50f2 100644
--- a/templates/bats.yml
+++ b/templates/bats.yml
@@ -4,9 +4,9 @@ bats:
   image: registry.shore.co.il/ci-images:bats
   tags: [ns4.shore.co.il]
   before_script:
-    - mkdir --mode 777 reports
+    - mkdir reports
   script:
-    - bats --timing --recursive --output reports/ --formatter junit tests/
+    - bats --timing --recursive --formatter junit tests/ | tee reports/bats.xml
   variables:
     GIT_SUBMODULE_STRATEGY: recursive
   artifacts:
-- 
GitLab