Expand my Community achievements bar.

SOLVED

How to test code quality issues in local

Avatar

Level 5

Hi,

 

After recent AEM push update, our build is failing in "Code Quality" step .

Issue is with indexing, Please find below the issue statement 

 

"Index definitions type needs to be 'lucene' to compliant with AEM as a Cloud Service"

 

How can I test this issue in local before pushing it to stage? 

 

Thanks

Ganesh

+91-9380201140

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @aem-enthu27 ,

You can setup jenkins on your local. There is a jenkins plugin "Adobe Cloud Manager Plugin". Once you install this on your local jenkins, it does allow you to run different scripts on your codebase. This will perform similar checks that happens on Cloud Manager. There are some configurations that you will have to do to set it up. Please refer to this link - https://plugins.jenkins.io/adobe-cloud-manager/

Check the operations that this plugin provides in the attached screenshots.

Screen Shot 2022-04-05 at 9.45.26 AM.png

I find it very useful for multiple operations.

Some more useful links -

https://chintalapudi4.medium.com/integrating-internal-git-with-cloud-manager-using-jenkins-c2dd2d272...

https://www.opsinventor.com/regarding-integrating-aem-cloud-manager-and-jenkins-diagrams-how-tos/

 

Moreover to fix the issue you can check this - https://experienceleague.adobe.com/docs/experience-manager-cloud-manager/using/how-to-use/custom-cod...

 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Hi @aem-enthu27 ,

You can setup jenkins on your local. There is a jenkins plugin "Adobe Cloud Manager Plugin". Once you install this on your local jenkins, it does allow you to run different scripts on your codebase. This will perform similar checks that happens on Cloud Manager. There are some configurations that you will have to do to set it up. Please refer to this link - https://plugins.jenkins.io/adobe-cloud-manager/

Check the operations that this plugin provides in the attached screenshots.

Screen Shot 2022-04-05 at 9.45.26 AM.png

I find it very useful for multiple operations.

Some more useful links -

https://chintalapudi4.medium.com/integrating-internal-git-with-cloud-manager-using-jenkins-c2dd2d272...

https://www.opsinventor.com/regarding-integrating-aem-cloud-manager-and-jenkins-diagrams-how-tos/

 

Moreover to fix the issue you can check this - https://experienceleague.adobe.com/docs/experience-manager-cloud-manager/using/how-to-use/custom-cod...