-
Notifications
You must be signed in to change notification settings - Fork 81
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
Problem generating PDF with a sonar.branch #18
Comments
Even we are facing the same issue, we are using the branch for analysis/release. Here are the environment details, Maven Command : StackTrace is appended at the end. From SonarQube page, it says that the plugin is deprecated, See "Other deprecated plugins" and that plugin is limited for java maven projects. Also, compatibility matrix says, it's compatible with 4.5 LTS version, But it's not working, any comments ? Here's the stack trace, [INFO] [10:21:16.938] ANALYSIS SUCCESSFUL, you can browse http://XXXX:PORT/dashboard/index/Project:995395 |
I am using maven to store results in Sonar. We have recently attempted to use the sonar-pdfreport-plugin.
Using sonar-pdfreport-plugin-1.4 with SonarQube 4.5.5 an error is generated when attempting to generate a PDF when using the -Dsonar.branch option. It appears to be appending the the branch twice to the string used to look-up the project info.
Here is an example of the output from maven, in this example I used -Dsonar.branch=local:
[INFO] [11:28:46.613] Retrieving project info for test:myproject:local:local
[INFO] [11:28:47.067] Can't retrieve project info. Have you set username/password in Sonar settings?
Taking the -Dsonar.brach=local option off seems to work, the output instead is like this:
[INFO] [11:28:46.613] Retrieving project info for test:myproject
However we use branches to distinguish different release builds.
The text was updated successfully, but these errors were encountered: