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
Enter target container info in the following format:
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".
|Username||Specify the username. The user must have "manager-script" role assigned.|
|Password||Specify the password. Configuration parameters can be used|
|Path to war archive||Specify the source war archive to be deployed.|