问题
I am using Sonar 4.5.1 and sonar-pdfreport-plugin-1.4 to run the build. PDF report is not getting generated an is showing below message : Internal error: Can't retrieve project info. Parent project node is empty. Authentication?. I saw a bug posted for this (https://jira.sonarsource.com/browse/SONARPLUGINS-3854) but would like to know what is the workaround available for this issue. User Authentication is already set for this in General Settings->Pdf report but doesn't work either.
回答1:
This issue has been fixed in commit a49b8f61afbf47b5f7976d0a759cb0efcd6c5bce.
For now you cannot download jar with this fix, but you can download sources and build custom version:
- fetch sources (by
git clone https://github.com/SonarQubeCommunity/sonar-pdf-report.git
or download zip) - execute maven command
mvn clean install
- copy generated jar to
sonar/data/extensions/plugins
来源:https://stackoverflow.com/questions/34059855/sonar-pdfreport-plugin-1-4-with-sonar-4-5-1