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:
cache:
paths:
- dist
- node_modules
policy: push
only:
refs:
......@@ -29,6 +30,10 @@ sonar_scanner:
stage: sonar
script:
- 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:
refs:
- 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