add sonarqube to pipeline
parent
8c837384eb
commit
6226f8f6a9
|
@ -8,6 +8,9 @@ steps:
|
||||||
- coverage run -m pytest -q
|
- coverage run -m pytest -q
|
||||||
- coverage xml
|
- coverage xml
|
||||||
- sonar-scanner -Dsonar.projectKey=SelfPrivacy-REST-API -Dsonar.sources=. -Dsonar.host.url=http://analyzer.lan:9000 -Dsonar.login="$SONARQUBE_TOKEN"
|
- sonar-scanner -Dsonar.projectKey=SelfPrivacy-REST-API -Dsonar.sources=. -Dsonar.host.url=http://analyzer.lan:9000 -Dsonar.login="$SONARQUBE_TOKEN"
|
||||||
|
environment:
|
||||||
|
SONARQUBE_TOKEN:
|
||||||
|
from_secret: SONARQUBE_TOKEN
|
||||||
|
|
||||||
- name: Run Bandit Checks
|
- name: Run Bandit Checks
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in New Issue