Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/en/plugins/shell.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

Plugin Shell
============

Expand All @@ -22,11 +23,12 @@ setup:
```yml
setup:
shell:
- "cd /www"
- "[ -d /www ]"
- "chmod u+x %BUILD_PATH%/bin/console"
- "%BUILD_PATH%/bin/console build"
```

When a command fails, the remaining ones are not run.
#### Each new command forgets about what was before

So if you want cd to directory and then run script there, combine those two commands into one like:
Expand Down