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

sonar-test

parent 0c49930f
No related branches found
No related tags found
2 merge requests!59Development to master,!31Development
Pipeline #64276 failed
...@@ -43,12 +43,13 @@ e2e-testing: ...@@ -43,12 +43,13 @@ e2e-testing:
sonarqube: sonarqube:
stage: analysis stage: analysis
image: ciricihq/gitlab-sonar-scanner image: jramcast/gitlab-ci-sonarqube
tags: ['docker'] tags: ['docker']
only: only:
- Development - Development
variables: variables:
SONAR_URL: http://10.166.0.3:9000 SONAR_URL: http://10.166.0.3:9000
SONAR_ANALYSIS_MODE: publish SONAR_LOGIN: $SONAR_TOKEN
script: 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-scanner-preview
- sonar-scanner
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