Skip to content

Commit

Permalink
Modify docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomomasa-matsunaga committed Aug 24, 2017
1 parent 54369a8 commit 987bc29
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/tasks.md
Expand Up @@ -245,4 +245,8 @@ retry: count=3 sleep_time=30
execute: test -e /tmp/foo.txt
```

if `execute: test -e /tmp/foo.txt` is failed, `execute: echo 1` is not executed and `execute: test -e /tmp/foo.txt` is only executed.
Assume that you have more than one command. and the command which triggered not first, was failed.
In this case, the retried job started from the command which make job failed. For instance, you have above task definition:

- `execute: test -e /tmp/foo.txt` failed (first command is success, and the second was fail)
- The retried job starts from `execute: test -e /tmp/foo.txt`

0 comments on commit 987bc29

Please sign in to comment.