Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEM as cloud Sonarqube Custom Rules

Avatar

Level 3

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 4

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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

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

Avatar

Level 3

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