Send build notifications to an Azure Event Grid Topic
How to Install
You can install/update this plugin in Jenkins update center (Manage Jenkins -> Manage Plugins, search Azure Event Grid Notifier Plugin).
You can also manually install the plugin if you want to try the latest feature before it's officially released. To manually install the plugin:
-
Clone the repo and build:
mvn package
-
Open your Jenkins dashboard, go to Manage Jenkins -> Manage Plugins.
-
Go to Advanced tab, under Upload Plugin section, click Choose File.
-
Select
azure-event-grid-notifer.hpi
intarget
folder of your repo, click Upload. -
Restart your Jenkins instance after install is completed.
Prerequisites
To use this plugin, first you need to create an Azure Event Grid Topic
How to use
You can define a custom subject and a custom message using environment variables such as:
${BUILD_PHASE_NAME}
${BUILD_PHASE}
${BUILD_DURATION}
${BUILD_ARTIFACTS}
or just leave the default message and subject.
Changelog
Version 0.1 (2017-8-22)
- Initial release