Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,559,300
Community Members
 
Community Events
184
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
Richard White _TechTime_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Jul 17, 2020

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

Richard White _TechTime_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Jul 21, 2020

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
AUG Leaders

Atlassian Community Events