# HG changeset patch # User Michael Pavone # Date 1553580788 25200 # Node ID 0d942ecf38c501a8da4c299a226e340bfe3e8c18 # Parent ed6c38cd288c2455c12bf10eba9e5189fcbdc25e Post build results to discord via webhook diff -r ed6c38cd288c -r 0d942ecf38c5 build_upload_nightly --- a/build_upload_nightly Sun Mar 24 20:09:22 2019 -0700 +++ b/build_upload_nightly Mon Mar 25 23:13:08 2019 -0700 @@ -14,6 +14,20 @@ if [ $result -ne 0 ]; then echo Build falied with return code $result stopping $CONTAINER_NAME lxc-stop -n "$CONTAINER_NAME" + curdate=`date -Iseconds` + curl -d'@-' -H 'Content-Type: application/json' "$WEBHOOKURL" <