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 on a separate page; 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: e.g. if you want to pass "%Y%m%d%H%M%S" into the build, change it to "%%Y%%m%%d%%H%%M%%S"

Deployment 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
UsernameSpecify the username. The user must have "manager-script" role assigned.
PasswordSpecify the password. Configuration parameters can be used
Deployment Source
Path to war archiveSpecify the source war archive to be deployed.