...
Code Block |
---|
name: sonar command: | mvn verify -Dlog4j.configuration=./logs sonar:sonar -Dsonar.projectKey=project-sunbird_sunbird-data-pipeline -Dsonar.organization=project-sunbird -Dsonar.host.url=https://sonarcloud.io -Dsonar.coverage.jacoco.xmlReportPaths=/home/circleci/dp/data-pipeline/assessment-aggregator/target/coverage-reports/jacoco-ut/jacoco.xml |
Note: If you’re creating a token for SONAR_TOKEN
env variable in circleci, please make sure, that you(sonar cloud user) has execute analysis
in roles