From db6aece545ae3e93c2d7d3a2b9100222e7810873 Mon Sep 17 00:00:00 2001
From: kraaij <kraaij@astron.nl>
Date: Thu, 19 Oct 2023 21:05:57 +0200
Subject: [PATCH] tweaking eslint

---
 .gitlab-ci.yml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 118cc9505a4..a94b28364da 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -951,12 +951,15 @@ eslint_TMSSFrontEnd:
   image: ci_tmss:$CI_COMMIT_SHORT_SHA
   allow_failure: true
   script:
+    
     - echo "Eslinting TMSS FrontEnd..."
+    - pwd
     - mkdir /tmp/eslint
     - cd /builds/ro/lofar/SAS/TMSS/frontend/tmss_webapp
+    - mkdir quality
     - ls -al
-    - npx eslint -f json . --output-file=/tmp/eslint/eslint.json
-    - ls -al  /tmp/eslint/eslint.json
+    - npx eslint -f json . --output-file=quality/eslint.json || true
+    - ls -al  
     - echo "done"
     
   needs:
@@ -966,9 +969,9 @@ eslint_TMSSFrontEnd:
     when: always
     expire_in: never
     paths:
-      - /tmp/eslint/ 
+      - /builds/ro/lofar/SAS/TMSS/frontend/tmss_webapp/quality
     reports:
-       codequality: /tmp/eslint/eslint.json
+       codequality: /builds/ro/lofar/SAS/TMSS/frontend/tmss_webapp/quality/eslint.json
         
 
 
-- 
GitLab