Commit e3bf19fd authored by François Agneray's avatar François Agneray
Browse files

push-pull node_modules for sonar-scanner

parent 0707a62b
Pipeline #1563 passed with stages
in 13 minutes and 13 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment