Skip to content

Commit

Permalink
Add description of parallel stages
Browse files Browse the repository at this point in the history
  • Loading branch information
mizzy committed Apr 21, 2015
1 parent 831b8a7 commit 3e756b2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,27 @@ The following is the parameter of Shell script stage.
|:----------------:|:----------:|:--------------------------------------:|
| file | false | shell script file run in the stage |

## Parallel stages

You can set child stages and run these stages in parallel like this.

```yaml
pipeline:
- name: parallel stages
parallel:
- name: parallel command 1
type: command
command: parallel command 1
- name: parallel command 2
type: command
command: parallel command 2
- name: parallel command 3
type: command
command: parallel command 3
```

`parallel command 1`, `parallel command 2` and `parallel command 3` are executed in parallel.

## Cleanup pipeline

Walter configuraiton can have one **cleanup** block; cleanup is another pipeline which needs to be executed after a pipeline has either failed or passed.
Expand Down

0 comments on commit 3e756b2

Please sign in to comment.