Sample code for Gitlab integration

Hi Team,

I am looking for sample code for to check the code quality of java application and i need to integrate sonar with my GitLab ci/cd pls guide me how to do that.

Hi,

Welcome to the community!

I’ve split your post into a new thread because the thread you appended your question two was a) rather old b) only tangentially related. Please create new threads for new topics. :slight_smile:

Regarding your question, have you checked the docs? Or tried to import your project via the UI? Doing so should walk you through the CI-side configuration.

 
HTH,
Ann