Integrate SonarQube with Github and deploy code using jenkins



Hi all,


I want to run sonarqube analysis on committed code in github and push the code to aem using jenkins. This should be automated process. How can I achieve it?



Accepted Solutions (1)

Accepted Solutions (1)




Hi @rk39193348,

A while back I wrote a 4 part tutorial on how to set this up using Docker images: 

The tutorial will teach you step-by-step but I also uploaded the source code to GitHub: 

The end result is the following architecture (you will obviously need to adapt it to fit your environnement/network. This is what I used for my home developments):


The only stage you want to do which is not covered in that tutorial is the deployment, which can be done by uploading to AEM via the Package Manager API. You can find some example cURL commands here:


Answers (0)