return command output, pass whole payload as json to the command

This commit is contained in:
Adnan Hajdarevic 2015-06-06 14:19:52 +02:00
parent f1ebc440a4
commit 9c545a745f
4 changed files with 94 additions and 44 deletions

View file

@ -3,6 +3,7 @@
"id": "webhook",
"execute-command": "/home/adnan/redeploy-go-webhook.sh",
"command-working-directory": "/home/adnan/go",
"response-message": "I got the payload!",
"pass-arguments-to-command":
[
{