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

continuous-deploymentdeploymentteamcity

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.

Best Answer

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

Related Topic