1. Install docker
2. Install Sonarqube Image with this command-
docker pull sonarqube
https://hub.docker.com/_/sonarqube
3. Once docker image is ready, Run it with following settings:
Make sure to enter Ports value like: 9000
4. Once server is up and running, Open the Sonar server in your browser
http://localhost:9000
5. Go to administration -> Marketplace and enable AEM Rules
6. Run the sonar build on project
mvn sonar:sonar -Dsonar.login=admin -Dsonar.password=admin
No comments:
Post a Comment