# 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

```