I want to build our ASP.NET Core solution on Jenkins continuous integration server.
The steps that I need run are:
Anybody knows or have the scripts to do the point 2 to 4?
The thing you have to keep in mind is which directory is jenkins executing from. dotnet restore
can be run at the root, but dotnet build
and dotnet test
need to be run from the same directory as the project.json
.
Test coverage is a separate topic altogether - as of right now (2/1/2017) in Visual Studio Enterprise 2015, code coverage does not work, at least with XUnit, maybe it does with MSTest. dotCover is working now, but I don't know how you could script that and get the results back.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With