Sends build notifications to Yammer.
The Yammer Plugin for Jenkins enables notifications to be sent to a Yammer group on the success or failure of a build.
This is an example of a successful build notification sent to the Build Notifications group:
Install the plugin from the Jenkins Plugin Manager. It should be listed as Yammer Plugin under Build Notifiers.
In the job configuration, under Post-build Actions, select Yammer Notification:
The Access Token defaults to an environment variable named YAMMER_ACCESS_TOKEN under the assumption that the same access token will likely be the same for many, if not all jobs.
Global environment variables can be set from Jenkins at Manage Jenkins > Configure System > Global Properties:
With the Access Token set, select whether to send success and/or failure notifications:
Both success and failure notifications require a message and a group name. Environment variables are also allowed.
Please ensure that the Yammer user associated with the OAuth token has been added to the specified groups,
The same settings specified in the job configuration can be provided as a JSON file that can be generated during the build. By default, the file should be named yammer.json under the workspace root.
The file path can be changed in the 'Advanced' section of the job configuration.
Please note that the settings specified in the job configuration will be merged with the config file. Any duplicate settings will overidden by the config file.
Last updated: 2013-07-19 19:44:41 +1000
Skip to end of metadata Go to start of metadata