Objective In the end of this tutorial we will have two Docker containers running on the same host, one will be for Jenkins and the other for SonarQube. In the Jenkins container, we will use sonar-scanner running locally to perform the code quality inspections. Jenkins Installation Downloading Jenkins We will start by downloading the official Jenkins image […]
If you have this error in jenkins console when you try to use sonar scanner try the next solution : Error msg: You must define the following mandatory properties for ‘Unknown’: sonar.projectKey Solution : projectKey is simply the unique identifier of your project inside SonarQube. You ahave to choose whatever you want, as long as […]
When you have this error message during sonar scanner win jenkins try the next solution ! Error msg : Your project contains .java files, please provide compiled classes with sonar.java.binaries property Solution : Try to configure the : Analysis properties / Propriétés de l’analyse of sonar scanner like the next configure :
When installing SonarQube, a default user with Administer System permission is created automatically: Login: admin Password: admin After log in , you have to update the password !