Jenkins running sonarqube, maven, gradle, jdk8, and docker
Put the Jenkinsfile in the repository where the resources are for the maven build
Download and install the sonarqube scanner plugin, and create global secret-file credentials with using sonar as the id and description and use the token generated from sonaqube as the password