We’re working on a build/deployment solution on TeamCity 8 for our java apps. We are interested in building a WAR once, then deploying it to all envs when needed.
Build artifact: Java WAR
Build tools: Gradle/Maven2.
Targeted App Server: Tomcat 7
We’re currently building on TC8 using the Gradle plugins to publish/get artifacts from a local Nexus server repo (we are publishing both JARS/WARS to Nexus). The build config also runs a Cargo metarunner step that gets the WAR file from the local checkout dir and deploys it to a remote dev Tomcat 7 server.
We’d now like a TC build config that will allow us to deploy this exact same build version to Tomcat in other environments (test through prod). We’ve already configured a Jenkins job to get the WAR from the Nexus server and deploy it to Tomcat 7 (using Repo Connnector and Deploy to Container plugins). Is there a similar deployment capability/plugins available within TeamCity? We'd like to standardardize all our build and deploy jobs on TC if possible.