Hi all,
There are two branches in my repository and they're are called develop and master. I would like to trigger a pipeline once a tag is pushed, but I need to choose which branch to checkout depending on the tag pattern. Example:
If the tag matches 'staging-*', the develop branch must be used and if it matches 'master-*', the branch master is the chosen one.
Can someone please help me?
Thanks!
Hello @Andre_Ferreira,
This is not the way such setup works. If you configure a pipeline for a tag, a build will be triggered for the commit that tag is pointing to (a tag is always pointing to some commit).
Hope this helps. Let me know if you have any questions.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.