This is a docker image that is identical to the official SonarQube Community Build Docker image with added scripts to install the AEM-Rules for SonarQube extension.
Latest from Docker Hub:
docker run -p 9000:9000 lubond/sonarqube-aem:latestFrom Source:
Clone the repo and run the build-and-run-container.sh script.
Or open it and run the commands manually.
Sonar will run on port 9000.
Take a look at quality.sh in source code and adjust it to your needs.
By default, that script will create a new AEM Gate and set the following Conditions:
| Quality Requirement | Threshold |
|---|---|
| Code Coverage | 80% |
| Code Smells | 0 |
| Maintainability Rating | A |
| Reliability Rating | A |
| Security Rating | A |