Gitflow release deploy artifact dependency

We are using the gitflow methodology in our development. We define our branch spec like this:


We have a single build that produces artifacts for all branches. We have separate deploy jobs. I'd like a single deploy job to handle all the release/* branches, but I can't seem to figure out how to configure the artifact dependency to just grab latest build from whatever release/* branch. Has anyone done this and provide some direction? Is this possible?

1 comment
Comment actions Permalink


It is not possible in TeamCity. Now you can use the specified branch or default one.
You can create a separate build configuration for (release/*) branches and use suggested workaround.
Also please feel free to create a new feature request in our tracker.


Please sign in to leave a comment.