How to store build into file

I am trying to store a successful build in a file on the local machine so that the binary can be transferred to another machine but I can't figure out how to specify the artifact. I tried specifying the artifact path in the general settings of the build configuration but this tries to store 1.6 GB in my local machine whereas I just want the exe. Does anyone know how to do this?

1 comment
Comment actions Permalink


All files produced during the build process are stored into the checkout folder on agent machine. To clean files created during the build you need to configure build feature Swabra. When the build finishes TeamCity searches for artifacts in the build checkout directory according to the specified artifact path. The matching files are then uploaded to the TeamCity server, where they become available for download through the web UI or can be used in other builds using artifact dependencies.
You can use URL patterns to download build artifacts from outside of TeamCity.


Please sign in to leave a comment.