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

Running Custom Build

Last modified: 15 June 2021

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.

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.

  • Build triggers can launch builds with custom parameters.

Administrator's Guide

Installation and Upgrade