Hi and thank you for the good job you do on this plugin.
We're are running :
Gitalab 11.10.4-ee
Sonarqube 7.7
gitlab-sonar-plugin-4.1.0-SNAPSHOT
and all looks ok.
In some cases we got a strange error on a long lived branch, named dev : the quality gates is passed
(based on the URL in the logs)
but the build is broken, because the plugin reports some blocking violations.
These violations are reported at line numbers which do no exist in the analyzed branch, but they do exists in a short-lived branch, the feature branch has never been analyzed.
Hi and thank you for the good job you do on this plugin.
We're are running :
and all looks ok.
In some cases we got a strange error on a long lived branch, named
(based on the URL in the logs)
but the build is broken, because the plugin reports some blocking violations.
dev
: the quality gates is passedThese violations are reported at line numbers which do no exist in the analyzed branch, but they do exists in a short-lived branch, the feature branch has never been analyzed.
This is our command line in
.gitlab-ci.yml
Gitlab debug traces show :
It looks like the plugin is taking the wrong branch to build its report or Sonarqube is giving the wrong reference to the plugin.
Thank you for your help