Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Nightly build for release branch if branch exists

I'd like to set up a nightly build for my release branch. Since I'm using git-flow I don't always have a relase branch so I would like it to build it if it can find a branch with a pattern of:

refs/heads/release-*

Any idea of how to get teamcity to perform this action for me?

like image 862
slinzerthegod Avatar asked Nov 25 '14 09:11

slinzerthegod


1 Answers

Use Branch Filter in the Trigger and set the only filter as

+:release-*

Also in Version Control under Branch Specification use

+:(release-*)

I also had similar issue and solved it as given above. I think this would solve your problem too.

like image 70
Nevin Raj Victor Avatar answered Nov 15 '22 03:11

Nevin Raj Victor