v0.10.0
This commit is contained in:
1
tests/.gitignore
vendored
Normal file
1
tests/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
private
|
17
tests/ErrorHook.yml
Normal file
17
tests/ErrorHook.yml
Normal file
@ -0,0 +1,17 @@
|
||||
commands:
|
||||
echoTestFail:
|
||||
cmd: ech
|
||||
shell: bash
|
||||
Args: hello world
|
||||
hooks:
|
||||
error:
|
||||
- errorCmd
|
||||
|
||||
errorCmd:
|
||||
name: get docker version
|
||||
cmd: docker
|
||||
getOutput: true
|
||||
outputToLog: true
|
||||
Args:
|
||||
- "-v"
|
||||
host: email-svr
|
14
tests/HookNotInFile.yaml
Normal file
14
tests/HookNotInFile.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
commands:
|
||||
echoTestFail:
|
||||
cmd: ech
|
||||
shell: bash
|
||||
Args: hello world
|
||||
hooks:
|
||||
error:
|
||||
- errorCm #
|
||||
|
||||
errorCmd:
|
||||
name: get docker version
|
||||
cmd: docker
|
||||
Args:
|
||||
- "-v"
|
16
tests/SuccessHook.yml
Normal file
16
tests/SuccessHook.yml
Normal file
@ -0,0 +1,16 @@
|
||||
commands:
|
||||
echoTestSuccess:
|
||||
cmd: echo
|
||||
shell: bash
|
||||
Args: hello world
|
||||
hooks:
|
||||
success:
|
||||
- successCmd
|
||||
|
||||
errorCmd:
|
||||
name: get docker version
|
||||
cmd: docker
|
||||
getOutput: true
|
||||
outputToLog: true
|
||||
Args:
|
||||
- "-v"
|
Reference in New Issue
Block a user