

#Teamcity artifacts download#
Not only do you have the ability to download the individual files, you can now use these artifacts in other build configurations?but that is for another post. When you click on the build status, the status page now has an artifacts tab. Now when you run your build, you should see an Artifacts dropdown link in the status line of the build. In the Artifacts text box, type: PrecompiledWeb\Web=>PrecompiledWeb. On the Nightly Build configuration page, select the General Settings link. Check the AdventureMVC project properties to see the syntax. Since the example solution contains a web application project (specifically an ASP.NET MVC application project), I had to add a post-build event to create the precompiled site. If the example solution contained a website, compiling the solution would create a precompiled website. Getting at the precompiled website through the file system is inconvenient. We want to make the compiled website readily available, so we are going to create some artifacts. (You can test the build at this point by clicking on the Run button.) Creating Artifacts On the Schedule tab, click on Add time trigger and configure your nightly build time. Add the integration test assembly to the test assembly text box. Rename the new configuration as you see fit.

Make a copy of the build by clicking on the Copy button on the right-hand side of the page. Now that we have our unit tests running on every check-in, let?s create a nightly build. If you click on the status, you will also see a new tab on the build results page showing the test information. Now, when your builds run, you should get a new status indicator showing how many tests passed.
#Teamcity artifacts full#
It is unnecessary to point to the full path. As you can see, this is using an MSBuild wildcard format to find the correct assembly. For our solution, the path is: **/bin/debug/. Add the path to the unit test assembly in the assembly text box. On the build runner page, select NUnit 2.4.8 from the NUnit runner combo box. Open the current build configuration and select the build runner navigation link (it should say Runner: sln2008). Running Testsįirst things first, lets get the tests running. With our basic solution build, we want to start running our unit tests on every check-in, create a nightly build (that runs both unit and integration tests), and generate some artifacts. This post also assumes that you have completed parts 1 and 2. By: Richard Cirerol Category:Uncategorized Tag: TeamCity, Tools and Utilities:įor more information on this series, please see the introductory post.
