Static code analysis reports in bamboo

Hi,

I am using Bamboo to build a PHP project. I need to show all the static code analysis reoprts in Bamboo. I did use clover for code coverage and reports are getting displayed successfully. All the other static code analysis reports(PHPDox, PHP code sniffer, PHP mess detector) are also getting generated in XML format. Is there any way to show all these reports in Bamboo just like code coverage?

2 answers

1 accepted

0 votes
Accepted answer

You would have to have a plugin for showing those specific reports. Code coverage is shown via the Clover plugin. (there may be others). Otherwise you might look into a different tool like SonarQube.

The plugins look for the specific product xml file to display. As far as I know there is no generic plugin for showing "any" static analysis report.

Unfortunately it seems SonarQube is broken with the latest version of Bamboo. So no static analysis tool for the CI/CD server. Pretty much rules it out as an option in my opinion.

 

Shame, nice tool. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

141 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you