From 7193ef551b23dce5206acfb44a81e19a6b968f89 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 25 Mar 2019 23:34:52 -0700 Subject: Fix and update JSON payload for webhook in build scripts --- build_upload_nightly | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'build_upload_nightly') diff --git a/build_upload_nightly b/build_upload_nightly index 22a5d0f..8077ed1 100755 --- a/build_upload_nightly +++ b/build_upload_nightly @@ -21,9 +21,9 @@ if [ $result -ne 0 ]; then { "title": "Build $name failed!", "type": "rich", - "description": "Build falied with return code $result stopping $CONTAINER_NAME" + "description": "Build falied with return code $result stopping $CONTAINER_NAME", "timestamp": "$curdate", - "color": 16711680, + "color": 16711680 } ] } @@ -43,12 +43,18 @@ curl -d'@-' -H 'Content-Type: application/json' "$WEBHOOKURL" <