VCS Integration Monitored branches pattern

We've got some release branches which can have semver naming, e.g. "1.2.3".  We also have other branches which have other types of naming, e.g. “feature/…”, “master”, “develop”… 

What we'd like to achieve is the following for the VCS Integration and Monitored branches:

  • Ignore release branches
  • Include all other branches

This because the releases might include cherry picks, and we'd like to avoid them being imported twice (and triggering commands twice). I was hoping for something like this:

+:refs/heads/*
-:refs/heads/*.*.*

But I'm not having any success using it. It appears to also exclude non-release branches. 

Can this be achieved? From my understanding there is only “*”, no regexp or similar.

0
2 comments

Hello,

We support only one asterisk in the expression. So you may use something like this:

+:refs/heads/*
-:refs/heads/1.*
-:refs/heads/2.*
-:refs/heads/3.*
...
1

Thank you, this should help with our issue.

0

Please sign in to leave a comment.