Skip to content
Snippets Groups Projects
Commit ba394434 authored by Saralegui Vallejo, Unai's avatar Saralegui Vallejo, Unai
Browse files

add sonarqueb readme

parent da228e7a
No related branches found
No related tags found
No related merge requests found
......@@ -38,3 +38,7 @@ You can find individual maven jobs for build, test and deploy to artifactoy. Che
# Python packages
Python project CI's are set up to perform virtualenv generation, test running, documentation generation with gitlab pages and artifactory deploy. Check for instructions on how to set up the required jobs in the [python configuration Readme](python-packages/README.md).
# Sonarqube
You can use the Tecnalia Sonarqube to analyse your code, please check the [sonarqube configuration Readme](sonarqube/README.md) to configure the sonarqube analysis in your CI pipeline.
# Sonarqube conde analysis job
You can include the jobs in this repository's YAML files as follows:
```yml
include:
- https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/sonarqube/sonarqube-check.yml
```
Take into account that the job uses `code_analysis` as stage-name, so you need to configure it.
During the configuration in the [Sonarqube](https://sonar.code.tecnalia.com/) page we will follow a configuration dialog
which will help us configuring our Gitlab project to add the sonarqueb analysis to our Gitlab CI pipelines.
Following such gide you will add a couple of variables that will be used by the yml files in this repository.
## Example
An example of a valid .gitlab-ci.yml can be:
```yml
include:
- https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/master/sonarqube/sonarqube-check.yml
stages:
- code_analysis
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment