-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apply replace on property sonar.branch.name: original value 'null' with '' #542
Comments
Hi thank you for creating a ticket for that. By a quick guess could you perhaps add If this doesn't help could you perhaps:
If this doesn't help it might get ugly, since maven is not really supportive in terms of running sonar reports and has here some really weird edge cases I can't fix in the plugin. Hope this helps. |
Hello @TheSnoozer , Thanks a lot for your suggestions! Unfortunately, Interestingly,
I would be fine with this solution but maybe you have an idea how this could work with a single git-commit-id-plugin? Best regards |
Hi, So how to make it only run once....that's a good question. When you want to achieve that you essentially want to 'bypass' maven's idea that plugins are independent. I know this is all a hack and I must admit the hackish thinking of maven made me abandon it completely :-) |
Hi, Thanks for the clarrification. In this case I will keep the 2 calls. Thank you for your support! |
Describe the bug
Hello, I have the same problem as in #457 . I try to get SonarQube to use the git branch name as sonar.branch.name but when running maven I get the following output:
In the end, the property sonar.branch.name is unset. Here is my config:
Can you give me a hint what I am doing wrong?
Additional context
The text was updated successfully, but these errors were encountered: