Hi,
I have the defined multiple anchors and using them like below:
Example found here: https://confluence.atlassian.com/bitbucket/yaml-anchors-960154027.html
but I am getting:
There is an error in your bitbucket-pipelines.yml at [pipelines > branches > feature/* > 2 > step]. To be precise: This section should be a map (it is currently defined as a list).
What am I doing wrong ? So the idea is to run the steps in dev-env and common-env before the actual script ./sfdx.sh deploy
branches:
feature/*:
- step: *dev-env
- step: *common-env
- step:
- trigger: automatic
- script:
- ./sfdx.sh deploy
Hi @Jani Ruohomaa,
as the error indicates, the attributes of your step should not be list items. So try something like this:
branches:
feature/*:
- step: *dev-env
- step: *common-env
- step:
trigger: automatic
script:
- ./sfdx.sh deploy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.