Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

msbuild not creating artifacts in teamcity

I'm setting up a nightly build for continuous integration within TeamCity. I wanted to create an artifact dependency on the last complete build. But I notice that I have no artifacts created in my project. I'm building using MS build.

like image 691
nologo Avatar asked Nov 25 '10 13:11

nologo


People also ask

What is artifact path in TeamCity?

Artifact Paths Build artifacts are files produced by the build which are stored on TeamCity server and can be downloaded from the TeamCity UI or used as artifact dependencies by other builds.

How do you build artifacts?

Build an artifact while executing a run configurationPress Ctrl+Shift+A , find and run the Edit Configurations action. to create a new one. , select Build Artifacts. Select the necessary artifact.

How do you copy artifacts in TeamCity?

The way I have done this, make things a lot easier.. Setup another configuration that pulls in, via artifact dependencies, all the files you need then run a cmd script to xcopy/copy the files to another drive on the network. You can do this using cmd script, vbs, python, shell etc.. It doesn't get easier than that.


1 Answers

You need to specify what files you are interested in TeamCity saving as artifacts. This is done by changing the Artifact Path under General Settings when you edit the configuration.

http://confluence.jetbrains.net/display/TCD5/Build+Artifact

like image 126
brandogs Avatar answered Sep 19 '22 12:09

brandogs