]> git.r.bdr.sh - rbdr/cologne/commitdiff
Remove local cache from sonarcube
authorRuben Beltran del Rio <redacted>
Mon, 21 Sep 2020 12:26:43 +0000 (14:26 +0200)
committerRuben Beltran del Rio <redacted>
Mon, 21 Sep 2020 12:26:43 +0000 (14:26 +0200)
.gitlab-ci.yml

index 40bffadb6a71520646dbcc28db6dbc4bd3ab01c2..2426cc0f368112f9521d6e01e15f8610b7de9ec1 100644 (file)
@@ -23,6 +23,7 @@ cache:
   paths:
     - node_modules/
     - .nyc_output/
   paths:
     - node_modules/
     - .nyc_output/
+    - .sonar/cache
 
 lint:
   <<: *only-default
 
 lint:
   <<: *only-default
@@ -43,10 +44,6 @@ quality:
   image:
     name: sonarsource/sonar-scanner-cli:latest
     entrypoint: [""]
   image:
     name: sonarsource/sonar-scanner-cli:latest
     entrypoint: [""]
-  cache:
-    key: "${CI_JOB_NAME}"
-    paths:
-      - .sonar/cache
   script:
     - npm run coverage
     - sonar-scanner
   script:
     - npm run coverage
     - sonar-scanner