I'm trying to set up a pipeline for all branches that match the following pattern:
`feature/<project-name>/<ticket-number>`
As noted here, `feature/*` will not work but I would expect either `feature/**` or `feature/*/*` to pick it up. I've tried with glob tester and it does indeed work.
Am I doing something wrong or does the Pipelines glob implementation not support this?
Thank you.
Hi Radu,
Hmm... seems like something odd is going on for you! I did a little test here: https://bitbucket.org/lvoller/testing-things/addon/pipelines/home#!/results/53/steps/%7B613c22a2-ea37-4cd0-bce2-db8460eda54c%7D
and when I committed to feature/newproject/issue1, the pipeline for feature/*/* ran.
Hopefully having a peek at my yml file will help (please ignore all the other branches where I was testing out yml anchors!!)
Good luck!
Is there any way to access the pattern matches, for the above e.g., <project-name> and <ticket-number> ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.