Go to you Maven Ci Build.
Under the Code Analysis you will find “Run SonarQube Analysis” mark the checkbox. When you haven’t already set up a Generic endpoint do this first by clicking manage.
Add a new Generic Endpoint:
Fill in the parameters
Back in your CiBuild you can now select your Generic Sonar Endpoint.
Save and queue a new build.