Skip to content

Call a configurable webhook on build start, error, or success. Useful for sending push notifications, blinking lights, etc.

License

Notifications You must be signed in to change notification settings

hbmartin/intellij-build-webhook-notifier

Repository files navigation

Build Webhook Notifier

Version Build GitHub issues CodeFactor Maintainability Rating

Call a configurable webhook on build start, error, or success. Useful for sending push notifications, blinking lights, etc.

Demo Screenshot

Features

  • Supports GET or POST calls when build starts, fails, or succeeds
  • POST supports application/json and application/x-www-form-urlencoded body content
  • Option for unique hooks for starting and error

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "Build Webhook Notifier" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Usage

  1. Go to Settings/Preferences > Tools > Webhooks
  2. Choose GET or POST call from the drop down and enter your webhook's URL.
  3. POST supports application/json and application/x-www-form-urlencoded body content.
  4. Build your project 🚀

Advanced

  • Use $project and $status variables in either URL or body string to substitute project name and status.
  • Check the unique webhook checkboxes to set up seperate calls for those statuses
  • Leave the URL fields blank to disable a webhook call for that status

Contributing

Authors

License

MIT License

Copyright (c) Harold Martin 2021

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.