Rocket Chat Notification Plugin for Jenkins
The latest stable version is available at Plugins Center. Dev builds are available via the Experimental Plugins Update Center.
Feel free to donate
Or donate Bitcoins: bitcoin:3NKtxw1SRYgess5ev4Ri54GekoAgkR213D
Also via greenaddress
Usage
Pipeline
You can use it in the Workflow/Pipeline DSL
node {
try {
...
} catch (e) {
rocketSend channel: 'abc', message: 'test'
throw e
}
}
If you omit channel you can shorten it as it would now use the global default channel:
node {
try {
...
} catch (e) {
rocketSend 'test'
throw e
}
}
The message looks then like this:
It also works with normal jobs:
Admin settings
You can define a default notification channel:
Contribution
Bugs
If you find a bug in the source code or a mistake in the documentation, you can help us by submitting an issue to our JIRA. Even better you can submit a Pull Request with a fix.
First search if the issue is already described!
If not create a new issue:
- Tell about your environment:
- operating system and version
- Jenkins version
- Java version
- RocketChat version
- Describe your issue
- describe your steps leading to the issue
- attach error logs or screenshots
- if possible provide test case or screenshots