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.
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.