TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Triggering a Custom Build

Last modified: 20 November 2020

A build configuration usually has build triggers configured which automatically start a new build each time the conditions are met, like scheduled time, or detection of VCS changes, and so on.

Besides triggering a build automatically, TeamCity allows you to run a build manually whenever you need, and customize this build by adding properties, using specific changes, running the build on a specific agent, and so on.

There are several ways of launching a custom build in TeamCity:

  • Click the ellipsis on the Run button, and specify the options in the Run Custom Build dialog described below.

  • To run a custom build with specific changes, open the build results page, go to the Changes tab, expand the required change, click the Run build with this change, and proceed with the options in the Run Custom Build dialog.

  • Use HTTP request or REST API request to TeamCity to trigger a build.

  • Promote a build - see the section below.

Administrator's Guide

Installation and Upgrade