Skip to content
Snippets Groups Projects
Commit 3e4b1d89 authored by L4168's avatar L4168
Browse files

added sonarqube gitlab-ci

parent ee29e3c6
No related branches found
No related tags found
2 merge requests!59Development to master,!31Development
stages:
- analysis
sonarqube:
stage: analysis
image: ciricihq/gitlab-sonar-scanner
variables:
SONAR_URL: http://10.166.0.3:9000
SONAR_ANALYSIS_MODE: publish
script:
- gitlab-sonar-scanner -Dsonar.host.url=http://10.166.0.3:9000 -Dsonar.projectKey=backend -Dsonar.login=$SONAR_USER -Dsonar.password=$SONAR_PASS -Dsonar.gitlab.project_id=$CI_PROJECT_ID -Dsonar.gitlab.commit_sha=$CI_COMMIT_REF -Dsonar.gitlab.ref_name=$CI_COMMIT_REF_NAME
sonar.projectKey=backend
sonar.projectName=OverflowBackend
sonar.projectVersion=1.0
sonar.sources=.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment