Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

NCover XML file format suitable for Job Miscellaneous tab path


I've specified XML directory in Job's Miscellaneous tab NCover section and the files are picked up correctly, but results displayed in NCover tab of Build Project Result are empty (Line Rate%). I've tried different report samples besides my generated one (books, ReportGenerator tests etc.). However, it seems that none is parsed correctly. Also, documentation for NCover 3 is obsolete and considered a legacy solution, but versions 4 and 5 generate HTML versions of the report and not XML. You can find one sample file here, another sample pasted below. I'll appreciate if somebody can point out why it happens for attached files and maybe provide a working sample. Bamboo version 6.8.1 build 60805 - 13 Mar 19.

<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="coverage.xs1" type="text/xs1"?> <!-- saved from ur1=(0022) --> <coverage> <module name="C:\Dev\NCover\Main\Samples\SimpleParam\adder.exe" assembly="Adder"> <method name="Main" class="Main.Program"> <seqpnt visitcount="1" line="10" column="13" endline="10" endcolumn="61" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> <seqpnt visitcount="1" line="11" column="13" endline="11" endcolumn="25" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> <seqpnt visitcount="1" line="11" column="25" endline="11" endcolumn="33" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> <seqpnt visitcount="1" line="12" column="25" endline="12" endcolumn="30" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> <seqpnt visitcount="1" line="16707566" column="0" endline="16707566" endcolumn="0" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> <!-- Some lines removed for brevity --> <seqpnt visitcount="1" line="28" column="3" endline="28" endcolumn="4" excluded="false" document="c:\Dev\NCover\Main\Samples\SimpleParam\Adder.cs" /> </method> </module> </coverage>


1 answer

0 votes

Hi @Lukasz Zasada

I see you've filed a support case in our portal as well.

As our support team shared with you, this problem is caused by a bug: [BAM-17507] DotNet Plugin: tab with NCover results not working. 

We will need to wait for our team to fix this one so you can move forward using NCover integration. 

Suggest an answer

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

Bamboo Data Center 8.1 is now available

G’day Bamboo customers, Bamboo DC 8.1 is now available with it the following features and programs: SAML 2.0, OpenID Connect, and Crowd SSO In order to help admins with a simplified user manage...

217 views 0 4
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