Skip to content
Snippets Groups Projects
Commit bc2e7586 authored by Nils Mittler's avatar Nils Mittler
Browse files

protect sonar project with token

parent f61052a8
Branches
Tags
No related merge requests found
...@@ -37,16 +37,18 @@ unit_tests: ...@@ -37,16 +37,18 @@ unit_tests:
sonar: sonar:
stage: codestyle stage: codestyle
only: # only:
- master # - master
tags: tags:
- sonar-cli - sonar-cli
allow_failure: true allow_failure: true
variables:
GIT_DEPTH: 0
dependencies: dependencies:
- unit_tests - unit_tests
script: script:
- npm i - npm i
- sonar-scanner -Dsonar.host.url=https://scm.thm.de/sonar/ - sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dsonar.host.url=https://scm.thm.de/sonar/
ngbuild: ngbuild:
stage: build stage: build
......
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