Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using TeamCity, how to manually trigger a DEPLOY against a previously built and tested build run?

Using TeamCity 6.5, I am trying to figure out how to setup a manual deployment for a specific build run if it's possible.

What I would like to be able to do is to take an already built and tested TeamCity run (only the artifacts needs to be deployed - this is not a web application or site) and call an MSBuild step to publish the artifacts to somewhere else.

like image 488
Stécy Avatar asked Jul 28 '11 18:07

Stécy


1 Answers

You can do what you want by setting up Artifact Dependency between the configurations where you want to do the manual deployment and the one where you have the built artifacts.

Once you have setup the Artifacts dependency, click on the Run custom build ellipsis near the "Run" button for the configuration. Here you will have the Artifacts dependencies part where it will say the configuration that this configuration you are running is dependent on and will also have a dropdown list from which you can choose the particular version of the other configuration from which to get the artifacts. Click run from here to run your custom build.

See here for more details: http://confluence.jetbrains.net/display/TCD65/Triggering+a+Custom+Build

like image 167
manojlds Avatar answered Oct 16 '22 15:10

manojlds