arobirosa / areco-deployment-script-manager

Simple but powerful Patch system for SAP Commerce Cloud (hybris)
Apache License 2.0
12 stars 5 forks source link

Use Sonarqube to analyse issues in this project #10

Open arobirosa opened 4 years ago

arobirosa commented 4 years ago

Current situation: The QA analysis is done using SpotBugs, PMD und Checkstyle locally and the number of checked rules is low.

Future situation: Use a QA analysis tool like Sonarqube to analyse the code if there are advantages over the current approach

Further information

arobirosa commented 4 years ago

Required properties on local.properties:

######################################
## Sonarqube ##
######################################

sonar.projectName = Hybris
sonar.projectKey = Hybris
sonar.projectVersion = 1.0
sonar.extensions = <EXTENSION>
sonar.host.url = https://sonarqube.<URL>.de
sonar.login = <TOKEN>
sonar.coverage.exclusions = de.hybris.*
sonar.coverage.jacoco.xmlReportPaths = ${HYBRIS_LOG_DIR}/jacoco/jacoco.xml
sonar.junit.reportPaths = ${HYBRIS_LOG_DIR}/log/junit/
sonar.junit.reportPath = ${HYBRIS_LOG_DIR}/log/junit/
sonar.java.source=1.11