Skip to content
Snippets Groups Projects
Commit c09687ff authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

feat: make job fail in case of quality qate issue

parent cca9031a
No related branches found
No related tags found
3 merge requests!97release V1.10.0,!96release V1.10.0,!92feat: make job fail in case of quality qate issue
......@@ -67,6 +67,7 @@ code_analysis:
stage: sonar-analysis
only:
- dev
- merge_requests
before_script:
- export NODE_PATH=$NODE_PATH:`npm root -g`
- npm install -g typescript
......@@ -79,7 +80,9 @@ code_analysis:
-Dsonar.projectBaseDir=.
-Dsonar.host.url=${SONAR_URL}
-Dsonar.projectKey=${SONAR_PROJECT_KEY}
-Dsonar.exclusions=scripts/**,**/*mock.*.ts,**/*spec.ts
-Dsonar.login=${SONAR_TOKEN}
-Dsonar.qualitygate.wait=true
mr:
image: docker:18.09
......
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