TeamCity On-Premises 2022.04 Help

Container Deployer

The Container Deployer build runner allows deploying WAR application archives to different containers. The runner supports the following Tomcat versions: 5.x, 6.x, 7.x and 8.x.

The settings common for all runners are described in Configuring Build Steps; this page details the Container Deployer settings.

The fields below support parameter references: any text between percentage signs (%) is considered a reference to a property by TeamCity. To prevent TeamCity from treating the text in the percentage signs as a property reference, use two percentage signs to escape them: for example, if you want to pass %Y%m%d%H%M%S into the build, change it to %%Y%%m%%d%%H%%M%%S.

Option

Description

Deployment Target

Target

Enter target container info in the following format: {hostname|IP}[:port]

Container Type

Select the version of Tomcat from the dropdown. The default "Manager" web app must be deployed to the target Tomcat. The user must have role manager-script.

Deployment Credentials

Username

Specify the username. The user must have manager-script role assigned.

Password

Specify the password. Configuration parameters can be used

Deployment Source

Path to war archive

Specify the source war archive to be deployed.

Last modified: 10 November 2021