You are viewing the documentation of TeamCity 10.x and 2017.x, which is not the most recently released version of TeamCity.
View this page in the latest documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.


Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can  deploy WAR application archives to different containers using the The Container Deployer build runner .The allows deploying WAR application archives to different containers. The runner supports the following Tomcat versions: 5.x, 6.x, 7.x and 8.x. It requires a Manager webapp installed in the target Tomcat instance and a user with the  

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.