I am trying to make use of YAML anchors, with different stages, and parallel steps in each stage (not parallel stages).
I have something like the following setup, but it does not seem to work and I want to know if what I am trying to do is supported:
pipelines:
custom:
Test Pipeline:
- stage:
name: Do multiple things
deployment: development
steps:
- step: *step1
- step: *step2
parallel:
- step: *pStep1
- step: *pStep2
- step: *pStep3
@Nate Loiselle Generally speaking, YAML anchors are supported to eliminate repeating blocks in the YAML.
Have a look at the official doc, it should help: https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/
The issue I am running into though is with the parallel steps within stage, within the anchor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May we know the error you're seeing in pipelines?
Cheers!
- Ben (Bitbucket Cloud Support)
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.
Thanks @Nate Loiselle
Unfortunately, parallel stages are not supported in stages - we have a feature request that you can Watch/Vote for to track progress and increase its visibility with regard to customer demand:
Cheers!
- Ben (Bitbucket Cloud Support)
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.