mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-22 21:32:32 +00:00
Add CaptureCommandOutputOnError
to include stdout & stderror in failed executions, with docs.
This commit is contained in:
parent
44d19e34a0
commit
a40fba5e29
3 changed files with 8 additions and 2 deletions
|
@ -384,6 +384,7 @@ type Hook struct {
|
|||
ResponseMessage string `json:"response-message,omitempty"`
|
||||
ResponseHeaders ResponseHeaders `json:"response-headers,omitempty"`
|
||||
CaptureCommandOutput bool `json:"include-command-output-in-response,omitempty"`
|
||||
CaptureCommandOutputOnError bool `json:"include-command-output-in-response-on-error,omitempty"`
|
||||
PassEnvironmentToCommand []Argument `json:"pass-environment-to-command,omitempty"`
|
||||
PassArgumentsToCommand []Argument `json:"pass-arguments-to-command,omitempty"`
|
||||
PassFileToCommand []Argument `json:"pass-file-to-command,omitempty"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue