Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,373
Community Members
 
Community Events
165
Community Groups

clover report is not properly displaying

Hi Team,

Need some help from you: I kicked off the job in bamboo and it finished successfully. It also generated an artifact - a clover report , However, when I view the report, the format is messed up and Class Coverage Distribution and Class Complexity images are missing. Would you help me figure out why this is happening?

Example from my local laptop run vs Bamboo's clover report is attached. Why is the formatting getting lost when bamboo generates the clover report?

also, I have selected Allow artifacts to be embedded in Bamboo pages but no luScreen Shot- local.pngScreen Shot -bamboo.pngBamboo admin.JPGck 

1 answer

0 votes

Hi Manjunatha,

One possibility is your artifact pattern isn't downloading all of the css and related files from clover's site output.

I would double check the artifact manually, and check that all of the files are present that you see when generating the report manually.

On this documentation page there is an example artifact copy pattern if the html report is generated in target/site/clover.

Yes , looks like it is not downloading  all of the css and related files from clover's site output.,

ono of our user try this ,

ran clover locally on their laptop and then loaded the file it generated into the browser. That looked perfect. Since the same files are being generated by bamboo builds also, they should render the same. However, maybe the way bamboo loads and copies the files over may be an issue.

 

E.g https://bamboo.corp.zscaler.com/artifact/TES-ANS/shared/build-1154/clover/img/classDistrubutionChart.png this file exists under bamboo but the browser is trying to load it from somewhere else.

 

]# ls -ltr /var/reports/notif/img/classDistrubutionChart.png

-rw-r--r--. 1 root root 3197 Jul 15 17:38 /var/reports/notif/img/classDistrubutionChart.png

 

how should load the report correctly am not getting 

 

Thanks & Regards,

Manju  NS

What is included and what is ignored is defined by the artifact copy pattern if you are using manual clover integration.

See attached screenshot showing a typical configuration:

Screenshot from 2020-07-21 19-57-11.png

This is defined in the configuration for whichever stage should be generating the clover report.

You can verify what is included in the artifact by going into one of the successful builds, selecting "artifacts" and downloading the clover report artifact. You should see all of the same files that you see when manually generating the report.

Hope that clarifies things for you.

Richard

in my inspect tab i can see this errors PFA inspect-clover.JPG

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

960 views 3 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you