Send notification to Typetalk
You can send notification to Typetalk when the following build events occur
- when build starts / ends
- when build fails
Operate Jenkins from Typetalk
You can operate Jenkins by mentioning to a bot in Typetalk and this enables you to do ChatOps. If you can understand Japanese, Refer to this blog entry for more details.
This plugin provides some features, like build/list projects.
Show help messages
At first, you must add credential to access Typetalk in the global configuration page.
How to configure credentials:
- Register a new application via the Typetalk Developer Application Page. Choose 'Client Credentials' in 'Grant Type'. Other items are optional.
- Input the 'Client ID' and 'Client Secret' displayed on the registration page. Input any value in 'Name'.
In this section, you can configure notifications about starting/ending build.
You can also change notification message as you like.
In this section, you can configure notifications about build results.
The notifications are sent when the build doesn't succeed and recovers.
You can use typetalk step in your pipeline as well as a classic style job.
When you want to notify a build result, you can use 'typetalkSend' step with 'catchError'.
You can also notify an event which starts and/or ends with 'withTypetalk' step.
In order to operate Jenkins from Typetalk, you should set a certain endpoint to Typetalk bot in a topic.
Bot for all Jenkins projects
This plugin provides the following endpoint to receive message from Typetalk. You have to set it to a webhook URL of Typetalk bot. See the official document for more.
Then, you can operate Jenkins by mentioning to the bot as follows:
In this case, @jenkins+ is your bot name here.
Bot for a single Jenkins project
By adding project name as a parameter of webhook URL,
then you can omit the name when mentioning to Typetalk bot like this.
Version 1.3.0 (Dec 29, 2017)
- Fix POST to /typetalk/notify with CSRF protection
Version 1.2.0 (Mar 14, 2017)
- Support pipeline
Version 1.1.0 (Feb 25, 2015)
- Add "operation from Typetalk" features
Version 1.0.0 (May 12, 2014)
'Notify When Success' in Post-build Actions section is removed.
If you use it, please 'Notify end' in Build Environment section instead of it.
Version 0.9.1 (Feb 3, 2014)
- Initial release ( not finished i18n )