You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
This is my pipeline.
In the parallel steps, I want to have two steps run one after another. Its like having sequential two steps within one parallel. Is this possible?
pull-requests:
'**':
- step: *build
- parallel:
- step: *chromeAPI
- step: *chrome69API
# how do I split this step into two steps so test2 is run after test1?
- step:
name: 'tests 1 and 2'
caches:
- node
- npm
services:
- docker
script:
- npm ci
- npm run test1
- npm run test2
In `parallel` all `step`s run parallel, there is no way inside parallel to have two steps not parallel.
However as long as test 1 and test 2 run with the same image it should be possible to have them in a single step so that test 2 would run after test 1. Just like you outline it already, however I don't know why you now need two steps for it so can't share more ideas or know about your limitations.
I just thought it will be visually nicer to see two steps. Also if one step fails, I can just run the failed step.
It's okay. I just want to know whether it is possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see now, good point about the failed step and re-running.
This would require to have an additional grouping of steps next to parallel to have them sequential explicitly. No such option exists thought unfortunately (yet).
However there exists a Jira ticket for a feature request:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.