Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Grouping Steps for Parallel Execution?

Ming Han Chung
Contributor
December 5, 2019

The current way to run steps in parallel works but what do we do when we have a serious of steps together than we want to on as one "grouping" with others.

Example:

  • The recommended way to do AWS Code Deploy involves a series of steps that have pipes.
  • If I wanted to run a full AWS Code Deploy along with other test or actions in parallel. Say... a full AWS Code Deploy along with running a step that packages the app into the Downloads section.

1 answer

0 votes
Graham Gatus
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 19, 2019

@Ming Han Chung do you want to be able to run 2 or more sets of parallel steps? 
e.g something like the following, where both group 1 and group 2 would execute in parallel?


```
parallel:
   - parallel:
       - step:
            name: Group 1 step 1
            sciprt: <the script>
       - step:
            name: Group 1 step 2
            sciprt: <the script>     

   - parallel:
       - step:
            name: Group 2 step 1
            sciprt: <the script>
       - step:
            name: Group 2 step 2
            sciprt: <the script> 
```

Currently pipelines does not support this functionality (we only support running a single parallel set of steps), however if you would like to request this as a feature, you can do so at https://jira.atlassian.com/secure/Dashboard.jspa.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events