Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Integrate SonarQube with Github and deploy code using jenkins

Avatar

Avatar
Validate 10
Level 2
rk39193348
Level 2

Like

1 like

Total Posts

92 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 10
Level 2
rk39193348
Level 2

Like

1 like

Total Posts

92 posts

Correct Reply

1 solution
Top badges earned
Validate 10
Validate 1
Boost 1
Affirm 1
View profile
rk39193348
Level 2

11-09-2020

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?

 

Regards 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct Reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile

Avatar
Validate 1
MVP
Theo_Pendle
MVP

Likes

238 likes

Total Posts

251 posts

Correct Reply

105 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 10
Ignite 1
View profile
Theo_Pendle
MVP

12-09-2020

Hi @rk39193348,

A while back I wrote a 4 part tutorial on how to set this up using Docker images: https://medium.com/@theopendle/github-jenkins-sonarqube-integration-for-java-maven-1-4-installation-... 

The tutorial will teach you step-by-step but I also uploaded the source code to GitHub: https://github.com/theopendle/docker-ci 

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):

architecture.png

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: https://helpx.adobe.com/lu_en/experience-manager/kb/common-AEM-Curl-commands.html#PACKAGES

 

Answers (0)