Closed lucasoares closed 3 years ago
Just found the problem!!
The error message has nothing to do with the problem itself :(
I was using -Dsonar.pullrequest.branch=$CI_COMMIT_BRANCH but in Gitlab the variable for source branch in MR pipeline events is $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME hahaha
Hey guys.
I need help to get my CI pipeline working using both plugins we are recommending (sonar-gitlab-plugin and community-branch-plugin).
I also created this issue with more details: https://github.com/mc1arke/sonarqube-community-branch-plugin/issues/307
Since I don't know much about how the sonar maven plugin works I don't know exactly where is the problem.
I have a java project where I'm testing it. I also tried a non-multimodule maven project but no success:
Any idea?