Bamboo OnDemand C++ Coverage/Profile reporting and Release Management

We have set up Bamboo OnDemand with custom agents. We primarily target C++ so have written a cppunit JunitOutputter Class that gives us some great integration. If anyone is interested in the Junit class I can post the patch - gives much better output than XSLT conversion from unit.

We would like to do more automatic integration such as coverage and profile support. I could possibly write a gcov to NCover covert to but was wondering if anything will change with the impending 4.1 update?

Also we need to have all our releases going through bamboo with correct automatic branching. Should I wait until 4.1 before implementing this into our build system?

2 answers

1 accepted

1 vote

We would like to do more automatic integration such as coverage and profile support. I could possibly write a gcov to NCover covert to but was wondering if anything will change with the impending 4.1 update?

No gcov support is planned for 4.1/4.2. If you want to have coverage support on OnDemand, converting the coverage into a format known to Bamboo is the only option.

Also we need to have all our releases going through bamboo with correct automatic branching. Should I wait until 4.1 before implementing this into our build system?

If you're talking about implementing build workflow with branches, you should definitely wait and see what 4.1 has to offer out of the box (or download a trial of Standalone release).

It looks like this script can convert between the gcov output to the clover xml report file, which is supported natively by Bamboo.

Would you recommend gcov to clover and not gcov to ncover. Or does it not matter?

I've pretty much got this done now - can you point me in the directions of the clover.xsd so I can make sure my file is correct?

There isn't any Clover XSD available. The best way to test it is to see if Bamboo can interpret your converted gcover data.

Matt, it does seem to be available (at least on my test instance), does it work for you?

Nah. we now have 4.1 and all the clover stuff has gone...what version is your test instance on?

It's been moved to another page in Bamboo - sorry I missed it. All integrated with gcov to clover convertor.

Yup @Matt Clarkson I had the same problem. Seems like bamboo won't take my xml file and render it - seems to be looking for a clover install / license now?

Now OnDemand has changed to 4.1 I think the clover stuff has been completely yanked out.

However, the clover plugin is still running:

19-Jul-2012 01:15:43 Build TC-TESTS-WINDOWSSERVER2008R264BITCONFIGURATION-210 completed.
19-Jul-2012 01:15:45 Running on server: post build plugin 'NCover Results Collector'
19-Jul-2012 01:15:45 Running on server: post build plugin 'Clover Delta Calculator'
19-Jul-2012 01:15:45 Running on server: post build plugin 'Build Hanging Detection Configuration'
19-Jul-2012 01:15:45 Running on server: post build plugin 'Maven Dependencies Postprocessor'

Matt, we are currently considering enabling Clover for OnDemand - you will be able to use Clover provided that you have a valid Clover license. Clover has not been yanked out, maybe it's just in a different place (check Job configuration/misc tab)

Watch this page for latest updates: https://confluence.atlassian.com/pages/viewpage.action?pageId=253231642.

Sweet, thanks for the update.

That's correct.

When you say about license - would you just need to buy the 1 server license for AOD?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,319 views 0 5
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