lholman / OneBuild

Convention based PowerShell build for .NET http://lholman.github.io/OneBuild/
Apache License 2.0
17 stars 2 forks source link

Automatic pickup of test result files for TeamCity #35

Closed AwaNoodle closed 9 years ago

AwaNoodle commented 9 years ago

OneBuild could advertise the test result files in a similar way that it advertises its build number to Team City. This reduces the amount of steps needed in the build configuration.

Adding ##teamcity[importData type='nunit' path='$testResultFileName'] after each test run is completed should do it.

lholman commented 9 years ago

@AwaNoodle I agree totally, however I'm actually trying to pull CI specifics out of OneBuild with #10 so you'd add OneBuild, then OneBuild.Ci.TeamCity for example for the implementations, needs some thought about contracts/interfaces though, if you're interested?

lholman commented 9 years ago

Closing this as we'll deal with all TeamCity specifics when looking at #10