Hi,
we are using Subversion as our code repository and use branches and tags extensively. Until now we were only using manual builds. In order to get new builds of some of our feature branches automatically I started to add triggers to our main project’s configuration and set the repository trigger to start building a single feature branch. Unfortunately the trigger does not seem to work. I don’t get any automatic builds.
Our subversion repository looks like this:
/branches/-
/tags/
/trunk
Our repository connector in Contirnua CI is set up like this:
Repository Type: Subversion
Branches To Monitor: By pattern
Default Branch: /trunk/
Branches Path: /branches/
Branch Pattern: /[^/]+/
This is what I configured in the repository trigger:
Associated Changesets: Latest
Trigger On (Branches): Pattern matched branches
Branch Pattern: ^product-feature.*
Trigger On (Tags): Don’t trigger on tag changes
I already checked for typos in the branch pattern three times and if the trigger is enabled. But I still have to start builds manually. Am I missing something here?
Our environment:
Windows Server 2012 R2
Continua CI 1.5.1.49
Regards
Kay Zumbusch
The forum software removed some information from our repository structure because I used angle brackets. This is our repository structure:
/branches/productname-featurename
/tags/releaseversionnumber
/trunk
Hi Kaye,
The trigger dialog branch pattern could use some more hint text or validation - I’ll get on to that now.
The pattern is actually matched against the full branch path (from the root of the repo) including the lead forward slash e.g. /branches/productname-featurename/
So any of the following patterns will work:
^/branches/productname-feature.$
^/branches/productname-feature
^/[^/]+/productname-feature.$
/productname-feature.*$
/productname-feature
Hi Dave,
thanks for clearing that up. I’ll try the new regular expression. You may have a look at the online documentation for Continua CI at http://wiki.finalbuilder.com/display/continua/Repository+Trigger and add this information to it.
Regards
Kay Zumbusch