The current alpha is available via the Experimental Plugins Update Center.
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:
You can define a default notification channel:
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