Open sesigl opened 6 years ago
It works if I add -Dsonar.analysis.mode=preview
But this is deprecated: The use of the issues mode (sonar.analysis.mode=issues) is deprecated. This mode will be dropped in the future.
What flag can I use to push coverage and code changes to sonar & get the issues in gitlab that is not deprecated?
One more weird thing is now that he can not find the commit itself...
Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:
But at least there is a comment pointing to the issue below the MR.
using sonarqube gradle plugin 2.6.2
has anyone an idea ?
Hey,
I updated to the latest sonarqube version 7.0.0.36138 and switch to aws rds postgres.
In sonarqube itself it looks fine. But the gitlab plugin doesnt report any rule violations. I only get reports regarding the quality gate like maintainablility 1 < 3.
What's wrong ? No rules are checked and therefore no issues are commented to the commit.
gradle command:
./gradlew project:sonarqube -Dsonar.gitlab.project_id=projectId/projectId -Dsonar.gitlab.commit_sha=$(git log --pretty=format:%H origin/master..origin/$GIT_BRANCH | tr '\n' ',') -Dsonar.gitlab.ref_name=$GIT_BRANCH --stacktrace
I force to comment sonarqube below every merge request and only get the result:
Gradle log: