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 luck
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,
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:
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.
G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...
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