SonarQube OpenSource Version 6.7.5 (build 38563)
error observed (wrap logs/code around triple quote ``` for proper formatting)
Scanning same application (I use OpenSource spring petclinic) scanned using maven results in different metric (Code smells) randomly. It is either 7 or 67 (see picture). Really hard to make a quality gate in Jenkins or GitLab CI. No code change is done.
./mvnw sonar:sonar -Dsonar.host.url=http://$SONAR_HOST:$SONAR_PORT -Dsonar.login=$SONAR_TOKEN
steps to reproduce
Take an opensource application (i.e. spring petclinic) and launch sonar scan against it in GitLab CI multiple times.