Skip to content
Snippets Groups Projects
Commit 338edf9a authored by Brice Copy's avatar Brice Copy
Browse files

Switch SONAR url to group CI/CD variable

parent 6e4e9544
No related branches found
No related tags found
No related merge requests found
Pipeline #1741924 failed
...@@ -39,7 +39,7 @@ build: ...@@ -39,7 +39,7 @@ build:
sonar_preview: sonar_preview:
type: sonar type: sonar
script: script:
- mvn -q -U -B clean compile sonar:sonar -Dmaven.test.skip=true -Dsonar.host.url=https://en-ice-sonar.cern.ch -Dsonar.analysis.mode=preview -Dsonar.gitlab.commit_sha=$CI_BUILD_REF -Dsonar.gitlab.ref_name=$CI_BUILD_REF_NAME -Dsonar.gitlab.project_id=$CI_PROJECT_ID -Dsonar.gitlab.max_major_issues_gate=0 --settings settings.xml --debug -X - mvn -q -U -B clean compile sonar:sonar -Dmaven.test.skip=true -Dsonar.host.url=$SONAR_URL -Dsonar.analysis.mode=preview -Dsonar.gitlab.commit_sha=$CI_BUILD_REF -Dsonar.gitlab.ref_name=$CI_BUILD_REF_NAME -Dsonar.gitlab.project_id=$CI_PROJECT_ID -Dsonar.gitlab.max_major_issues_gate=0 --settings settings.xml --debug -X
except: except:
- master - master
- tags - tags
...@@ -47,6 +47,6 @@ sonar_preview: ...@@ -47,6 +47,6 @@ sonar_preview:
quality_assurance: quality_assurance:
stage: sonar stage: sonar
script: script:
- mvn package sonar:sonar -Dmaven.test.skip=true -Dsonar.dependencyCheck.reportPath=target/dependency-check-report.xml --settings settings.xml - mvn package sonar:sonar -Dmaven.test.skip=true -Dsonar.host.url=$SONAR_URL -Dsonar.dependencyCheck.reportPath=target/dependency-check-report.xml --settings settings.xml
only: only:
- master - master
  • BE ICS @bjenkins ·

    SonarQube analysis reported 1 issue

    • :warning: 1 major

    Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:

    1. :warning: This block of commented-out lines of code should be removed. :blue_book:
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