Artifact dependency to NCover results not working

Hi,

I'm trying to set an artifact dependency on the CoverageReport.xml file that is generated by the NUnit build step when it is configured to run NCover 3.0. I can see that the file has been generated and saved to the server under {build conf id}\.teamcity\.NETCoverage. Then, in another build configuration I've added an artifact dependency on the code coverage build configuration with artifacts path = teamcity/.NETCoverage/CoverageReport.xml. However, when I then "Check artifact dependencies" I get the error:

[13:49:15]: Dependency resolving started...
[13:49:15]: Downloading artifacts from: http://buildserver
[13:49:15]: Failed to download artifact dependency <BarrHibb.Sim.API-Trunk :: Code Coverage - IntegrationTests (last successful build)>: No files matched for pattern ".teamcity/.NETCoverage/CoverageReport.xml" from <BarrHibb.Sim.API-Trunk :: Code Coverage - IntegrationTests (last successful build)> (jetbrains.buildServer.artifacts.ResolvingFailedException)
[13:49:15]: Failed to download 1 of 1 artifact dependencies
[13:49:15]: Dependency resolving finished

This used to work prior to upgrading to 6.0...any ideas what might have gone wrong in the upgrade?

Thanks
Akash

5 comments
Comment actions Permalink

Hi Akash

Try to use artifact picker (on the attached screenshot). It guaranties the path is selected correctly.

Michael



Attachment(s):
artifact picker.PNG
0
Comment actions Permalink

The artifact picker only gives me the option to select coverage.zip, not the coverage.xml file, which seems to be located in a sub-folder. The thing is, I didn't choose where to place these artifacts - it is done automatically by the NUnit build step that runs NCover and there is no place where I can edit it.

0
Comment actions Permalink

Hi

Sorry for delay on my side.
I've filled TW-15581 for this issue, you can watch/vote for it.

Thanks
Michael

0
Comment actions Permalink

Akash,

Can you please also comment in the issue on why do you need the file?

0
Comment actions Permalink

I've added a comment to the issue: I need the xml file for integration with an NDepend report that runs sunsequent to the coverage build.

0

Please sign in to leave a comment.