Merge pull request #103 from SimonHeimberg/patch-2
improve documentation of shell plugin
This commit is contained in:
commit
c78ac2d09e
|
@ -1,3 +1,4 @@
|
|||
|
||||
Plugin Shell
|
||||
============
|
||||
|
||||
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue