AEM as cloud Sonarqube Custom Rules | Community
Skip to main content
Level 3
September 18, 2024
Solved

AEM as cloud Sonarqube Custom Rules

  • September 18, 2024
  • 1 reply
  • 918 views

Hi All,

we are attaching excel sheet which are referred from Adobe documentation ( covered 51 rules in Java , but attached sheet have 96 rules which are related to AEM as cloud ( dispatcher/oak index etc) https://experienceleague.adobe.com/en/docs/experience-manager-cloud-manager/content/using/custom-cod... 

We followed steps to install JAR by building this git code as per suggestion through adobe forum https://github.com/wttech/AEM-Rules-for-SonarQube, but how to bring other rules which are related to dispatcher /AEM specific rules related to AEM as cloud as per attached sheet.

please share your valuable inputs/suggestion to bring those 96 rules into sonarqube.

And also share some infights on sonarqube versions as well, Can we use community edition in AEM as cloud?

 

Cheers

Raju

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by daniel-strmecki

Hello,

 

in case you are referring to the SonarQube results you get in Cloud Manager, this is fully managed by Adobe and the rules are not open source, so you cannot simply add them to your custom SonarQube.

 

It is still a good practice to have a custom SonarQube instance connected to your GitHub or whichever tool you use for pull requests to get early feedback. I guess you can self-host a community edition of SonarQube or use the paid/cloud version of SonarQube, both should work.

 

Most of the Adobe rules are also covered in https://github.com/wttech/AEM-Rules-for-SonarQube but please note this project doesn't seem to be maintained anymore. Therefore, in my old company, we created an updated version of it, check https://github.com/IBM/ibm-ix-aem-sonarqube-plugin 

 

Good luck,

Daniel

1 reply

daniel-strmecki
Community Advisor and Adobe Champion
daniel-strmeckiCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
September 18, 2024

Hello,

 

in case you are referring to the SonarQube results you get in Cloud Manager, this is fully managed by Adobe and the rules are not open source, so you cannot simply add them to your custom SonarQube.

 

It is still a good practice to have a custom SonarQube instance connected to your GitHub or whichever tool you use for pull requests to get early feedback. I guess you can self-host a community edition of SonarQube or use the paid/cloud version of SonarQube, both should work.

 

Most of the Adobe rules are also covered in https://github.com/wttech/AEM-Rules-for-SonarQube but please note this project doesn't seem to be maintained anymore. Therefore, in my old company, we created an updated version of it, check https://github.com/IBM/ibm-ix-aem-sonarqube-plugin 

 

Good luck,

Daniel

Level 3
September 26, 2024

Hi Daniel,

Thanks for the update.

we will proceed with local instance with this plugin(https://github.com/wttech/AEM-Rules-for-SonarQube

 

Cheers

Raju