Teamcity action on delete branch

I am looking, perhaps, for creating a CI Teamcity server for use with the git (github) repository.

I want the teamcity team to create every branch that falls into the main repo, and it looks like TeamCity supports it now.

When a branch is typed, I would like to create a new IIS website / application pool, etc. for all of this, and it seems that I can accomplish this by deploying on the Internet or something like that.

What I'm wondering is it possible when the branch is removed from the repo, since it was merged into master / prod, there is a way to get TeamCity to run a batch file / command in which I would delete all of the artifacts (website / application pool / db, etc.) from the server that deployed the site only for this branch.

+7
source share
1 answer

This may not be the way you want it to, but why would you use TeamCity if you could do it with a simple preliminary?

See more details .

0
source

All Articles