Skip to content
Snippets Groups Projects

Added SonarQube to the pipeline.

Merged Neda Moeini requested to merge feature/AddSonaQube into develop
All threads resolved!
Files
2
+ 10
1
@@ -2,7 +2,7 @@
@@ -2,7 +2,7 @@
stages:
stages:
- tox
- tox
- documentation
- documentation
- sonarqube
include:
include:
- docs/.gitlab-ci.yml
- docs/.gitlab-ci.yml
@@ -16,6 +16,7 @@ run-tox-pipeline:
@@ -16,6 +16,7 @@ run-tox-pipeline:
services:
services:
- postgres:15.4
- postgres:15.4
 
# Change pip's cache directory to be inside the project directory since we can
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
# only cache local items.
variables:
variables:
@@ -46,3 +47,11 @@ run-tox-pipeline:
@@ -46,3 +47,11 @@ run-tox-pipeline:
artifacts:
artifacts:
paths:
paths:
- htmlcov
- htmlcov
 
 
sonarqube:
 
stage: sonarqube
 
image: sonarsource/sonar-scanner-cli
 
script:
 
- sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dproject.settings=./sonar.properties
 
tags:
 
- docker-executor
Loading