Files
backy/tests/ErrorHook.yml
Andrew Woodlee 0d6a13c1cf
Some checks failed
ci/woodpecker/push/go-lint Pipeline failed
ci/woodpecker/push/publish-docs Pipeline was successful
Cmd Type script now correctly appends arguments
2025-11-15 17:37:17 -06:00

31 lines
437 B
YAML
Executable File

commands:
echoTestFail:
cmd: ech
shell: bash
Args:
- hello world
hooks:
error:
- errorCmd
final:
- finalCmd
finalCmd:
cmd: echo
Args:
- "echo test fail"
errorCmd:
name: get docker version
cmd: docker
getOutput: true
outputToLog: true
Args:
- "-v"
cmdLists:
TestHooks:
output:
onFailure: true
order:
- echoTestFail