I am having lots of success using the REST API for the metrics I need to generate except for one key piece. I need to get the CLOVER results from the REST API. However, I cannot find any documentation on this and Google has not been useful at all. At a minimum, we need to get the Total Coverage information. Any help is greatly appreciated.
I assume that you're referring to Bamboo REST API.
Clover publishes several metrics as metadata properties for a build result, named:
You can fetch these values via build result REST endpoint:
See more details here:
I expanded my build get api result metadata as below and no Clover statistics are shown. How do I get clover stats as a json response ?
<metadata start-index="0" max-result="10" size="10"><item key="buildTimeStamp" value="2020-08-29T12:35:40.400+05:30"/><item key="ManualBuildTriggerReason.userName" value="prash"/><item key="tmp.directory" value="E:\Softwares\bamboo-home\temp"/><item key="bamboo.system.getTestsToPass" value=""/><item key="working.directory" value="E:\Softwares\bamboo-home\xml-data\build-dir\TKLOG-TKLOG-JOB1"/><item key="buildKey" value="TKLOG-TKLOG-JOB1"/><item key="build.working.directory" value="E:\Softwares\bamboo-home\xml-data\build-dir\TKLOG-TKLOG-JOB1"/><item key="hg.cache.directory" value="E:\Softwares\bamboo-home\xml-data\build-dir\_hg-repositories-cache"/><item key="buildNumber" value="3"/><item key="git.cache.directory" value="E:\Softwares\bamboo-home\xml-data\build-dir\_git-repositories-cache"/></metadata>
Hi, Atlassian Community! My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Tre...
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