Trigger build from GitHub branch creation/deletion in TeamCity

I'm trying to implement feature branch CI with TeamCity, and while I believe I know how to deploy feature branches based on this guide, I can't seem to find how to trigger builds based off branch creation or deletion.

Basically, I need to simply create an IIS site when a branch is created, and delete the site when the branch is deleted.

Is this possible?

1 comment
Comment actions Permalink

Hi,

TeamCity triggers new build only when commits occur. So new branch without commits will be shown as inactive. Will it fit for you if new IIS site will be created after first commit? It is impossible to trigger build on branch deletion.
Please feel free to create a new feature request in our tracker. We would be appreciated if you add detailed description of your use case to feature request.

0

Please sign in to leave a comment.