I am trying to run some integration tests in continous integration with TeamCity and the goal of my test is to verify if I can deploy correctly my webapp on some local container. I need therefore to setup a TeamCity build that does the same
- Build all and package my webapp
- Start the container
- Run the tests which deploy the webapp and test the deployment status
- Stop the container
How can this be done with TeamCity?
This is pretty simple, if you have TeamCity set up. It sounds like you’re new to TeamCity. If you don’t have a server and agent set up so you’re able to run build configurations, you’ll need to do that first.
If you do, you’re ready to go. You need to be able to do all the things you want to do from the command line, or from the built-in TeamCity runners. Then, you just need to set up build configurations to do each task, and then connect them with finish build triggers.