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,463,391
Community Members
 
Community Events
176
Community Groups

NCover XML file format suitable for Job Miscellaneous tab path

Edited

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)http://www.ncover.org/ --> <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
TAGS

Atlassian Community Events