Skip to content
Snippets Groups Projects
Unverified Commit 50b66419 authored by Massimiliano Adamo's avatar Massimiliano Adamo
Browse files

add sonarqube

parent ce8bfafb
No related branches found
No related tags found
No related merge requests found
Pipeline #963 passed
---
image:
name: sonarsource/sonar-scanner-cli:${SONAR_SCANNER_CLI_VERSION}
stages:
- sonarqube
test:
stage: sonarqube
variables:
SONAR_PROJECT_BASE_DIR: "$CI_PROJECT_DIR"
script:
- /usr/bin/entrypoint.sh sonar-scanner -Dsonar.projectKey="$CI_PROJECT_NAME" # sonar.projectKey defines the name of the project in SonarQube. In this example it uses the same name of the project in Gitlab.
tags: # NOT to be confused with git tags. This is GitLab tag
- sonarqube
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment