Skip to content
Snippets Groups Projects
Commit e3bf19fd authored by François Agneray's avatar François Agneray
Browse files

push-pull node_modules for sonar-scanner

parent 0707a62b
No related branches found
No related tags found
2 merge requests!68Develop,!55Sonar
Pipeline #1563 passed
...@@ -19,6 +19,7 @@ install: ...@@ -19,6 +19,7 @@ install:
cache: cache:
paths: paths:
- dist - dist
- node_modules
policy: push policy: push
only: only:
refs: refs:
...@@ -29,6 +30,10 @@ sonar_scanner: ...@@ -29,6 +30,10 @@ sonar_scanner:
stage: sonar stage: sonar
script: script:
- sonar-scanner -Dsonar.projectKey=anis-client -Dsonar.sources=src -Dsonar.projectVersion=$VERSION -Dsonar.host.url=$SONARQUBE_URL -Dsonar.login=$SONAR_TOKEN - sonar-scanner -Dsonar.projectKey=anis-client -Dsonar.sources=src -Dsonar.projectVersion=$VERSION -Dsonar.host.url=$SONARQUBE_URL -Dsonar.login=$SONAR_TOKEN
cache:
paths:
- node_modules
policy: pull
only: only:
refs: refs:
- sonar - sonar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment