I have more than 2 Release branches and will be more in future I want to add all the branches starting with Release to the 'Branches allowed to deploy' in repository settings-> Test environment, I am looking for any glob pattern, something like this : release/* , but not this as it is not working.
Hi @Gangadhar Malana and welcome to the community.
The glob pattern release/* should work if you are running builds based on branches and if the deployment step has the deployment keyword with the name of the environment where you set up this rule, e.g. like this:
- step:
name: Deploy to staging
deployment: Staging
script:
- echo "Deploy to staging"
branches:Or a different setup?
release/*:
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.