notify Functions
NOTIFY_URLNotification URL – URL. URL to send default notifications
A service which works with this tool is the ntfy service and can be set up and be run privately.
notifyURL
Send a notification by submitting data to a URL
Usage
notifyURL [ --tags tagList ] [ --priority priority ] [ --title title ] [ --response responseHandler ] [ --handler handler ] [ --help ]
Send a notification by submitting data to a URL
Location:
bin/build/tools/notify.sh
Arguments
--tags tagList- CommaDelimitedList. Optional. Tags for notification. e.g.warning,production--priority priority- String. Optional. Priority of the notification.low, orhigh--title title- String. Optional. Title of the notification.--response responseHandler- Function. Optional. Use this handler to parse the result and output a response ID.--handler handler- Function. Optional. Use this error handler instead of the default error handler.--help- Flag. Optional. Display this help.
Return codes
0- Success1- Environment error2- Argument error
Environment
NOTIFY_URLNotification URL – URL. URL to send default notificationsNOTIFY_URL_AUTHORIZATIONNotification URL Authorization Token – Secret. Authorization token for default notifications.