Plugin Information |
---|
View RocketChat Notifier on the plugin site for more information. |
Allows users to send build notifications via RocketChat
Issues
Limitations
- works with all current RocketVersion, see the test matrix
- currently no support for API keys
Usage
rawMessage
- Message will not be preformated.
rocketSend channel: 'general', message: 'My message', rawMessage: true
message properties :
alias- emoji
- avatar
- attachments
Examples:
Emoji:
rocketSend channel: 'general', emoji: ':sob:', message: 'My message', rawMessage: true
Avatar:
rocketSend avatar: 'http://127.0.0.1:8080/jenkins/static/ff676c77/images/headshot.png', channel: 'general', message: 'My message', rawMessage: true
Attachments
- title: mandatory
- color
- text
- thumbUrl
- messageLink
- collapsed
- authorName
- authorIcon
- authorLink
- titleLink
- titleLinkDownload
- imageUrl
- audioUrl
- videoUrl
rocketSend attachments: [[$class: 'MessageAttachment', text: 'Build Succes', title: 'my attachment']], channel: 'general', message: 'My message', rawMessage: true
with many attachments:
rocketSend attachments: [ [$class: 'MessageAttachment', color: 'green', text: 'Build Succes'', title: 'my attachment'], [$class: 'MessageAttachment', color: 'red', text: 'Something failed', title: 'my other attachment'], ], channel: 'general', message: 'My message', rawMessage: true
Snippet generator:
Changelog
hypery2k released this just now · 2 commits to develop since this release
Bug Fixes
- Message sent: Improve error handling (ec36a79)
hypery2k released this on 1 Feb · 2 commits to develop since this release
Bug Fixes
- RocketChatClientCallBuilder: fix proxy access without credentials (JENKINS-55890) (4d27927)
hypery2k released this on 26 Jan · 13 commits to develop since this release
Features
- Authentication: Adding support for personal token login (4108174)
hypery2k released this on 24 Jan · 24 commits to develop since this release
Bug Fixes
- Error-Handling: Avoid possible NPE (c49d31e)
hypery2k released this on 26 Dec 2018
Bug Fixes
- pom.xml to reduce vulnerabilities (38fd3ab)
- pom.xml to reduce vulnerabilities (5b6885c)
- pom.xml to reduce vulnerabilities (e6ab323)
hypery2k released this on 27 Oct 2018 · 43 commits to develop since this release
Bug Fixes
- Connections-Pooling: Use PoolingHttpClientConnectionManager to fix multiple requests (f718cf2), FIXES #JENKINS-51612
- MessageAttachment: Change type string to boolean (#25) (e3b9eaa), FIXES #JENKINS-53429
- SSL-Config: Use ssl settings in client, too (5202e06), FIXES #JENKINS-51124
- pom.xml to reduce vulnerabilities (e6ab323)
- pom.xml to reduce vulnerabilities (5b6885c)
hypery2k released this on 27 Oct 2018 · 60 commits to develop since this release
Bug Fixes
- build: Only deploy master (bd26eb1)
- Configuration: Auto-Add https:// if no protocol was given (e19d174)
- deploy: Correct Maven Deploy logic (#JENKINS-52383) (8adf86e), closes #JENKINS-52383
- NPE: Corrected NPE error (#JENKINS-50448) (808242c), closes #JENKINS-50448
- Plugin-URL: Set correct plugin url (d4f361a), closes #21
- proxy: Corrected proxy config (JENKINS-47858) (1403cb6)
- Proxy: Proxy detection with nested URIs and different Ports (9b6431c)
- proxy-error: Resolve #JENKINS-47858 (074a5e0), closes #JENKINS-47858
- SNI: upgraded the http client to support SNI. (#JENKINS-48905) (bb738ad), closes #JENKINS-48905
- ssl: Corrected SSL Validation (89400a0)
- use-defaults: applying global defaults (4a8bdf7), closes #JENKINS-48486
- use-defaults: applying global defaults (673b6ea), closes #JENKINS-48486
- obey channel parameter for messages sent via webhook (503780d)
- pom.xml to reduce vulnerabilities (e6ab323)
Features
- Attachments: Adding attachment send to normal jobs (ca4b80a)
1.2.1 (May 6, 2018)
Bug Fixes
- NPE: Corrected NPE error (JENKINS-50448) (808242c)
- SNI: upgraded the http client to support SNI. (JENKINS-48905) (bb738ad)
- ssl: Corrected SSL Validation (89400a0)
1.2.0 (Feb 15, 2018)
Bug Fixes
- proxy-error: Resolve #JENKINS-47858 (074a5e0), closes #JENKINS-47858
- use-defaults: applying global defaults (4a8bdf7), closes #JENKINS-48486
- use-defaults: applying global defaults (673b6ea), closes #JENKINS-48486
1.1.2 (Jan 25, 2018)
Bug Fixes
- JSON: Corrected form data usage (JENKINS-47858) (2781961)
1.1.1 (Jan 10, 2018)
Bug Fixes
- NPE: Fix typo (see #https://issues.jenkins-ci.org/browse/JENKINS-48185) (52c57a3)
- NPE: Resolve null pointer issue (see #https://issues.jenkins-ci.org/browse/JENKINS-48185) (dd53f96)
1.1.0 (Dec 30, 2017)
Features
- Add support for posting to webhook Drop support for older rocket.chat versions (JENKINS-42099)
Bug Fixes
- NPE: Fix typo (see #https://issues.jenkins-ci.org/browse/JENKINS-48185) (52c57a3)
- NPE: Resolve null pointer issue (see #https://issues.jenkins-ci.org/browse/JENKINS-48185) (dd53f96)
1.0.4 (Dec 11, 2017)
Bug Fixes
- Fix rocketServerUrl property(see JENKINS-48185)
1.0.3 (Nov 24, 2017)
Bug Fixes
- NPE: Resolve null pointer issue (see #https://issues.jenkins-ci.org/browse/JENKINS-48185) (dd53f96)
1.0.2 (Nov 23, 2017)
Bug Fixes
- NPE: Resolve null pointer issue (see #https://issues.jenkins-ci.org/browse/JENKINS-48185) (dd53f96)
1.0.1 (Nov 16, 2017)
Bug Fixes
- release-error: Resolve versioning error
1.0.0 (Nov 15, 2017)
Bug Fixes
- duration-display: Fix for duration label error (28c8594)
- error-handling: Improved error handling for special characters in fields (see #JENKINS-47858) (2a3a542)
- NPE: Resolve null pointer in error log (94b7308), closes #JENKINS-47841
Features
- coverage: Adding code coverage (dfe4b4e)
0.5.5 (Nov 14, 2017)
Bug Fixes
- error-handling: Improved error handling for special characters in fields (see #JENKINS-47858and #JENKINS-42365)
0.5.4 (Nov 10, 2017)
Bug Fixes
- duration-display: Fix for duration label error (28c8594)
- NPE: Resolve null pointer in error log (94b7308), closes #JENKINS-47841
0.5.3 (Sep 13, 2017)
Bug Fixes
- message-text: "Finished" messages don't mention FAIL/SUCCESS, always 0 ms (JENKINS-46583)
Features
- drop-old-rocket-api: Drop support for older rocket.chat versions (40dad98)
0.5.2 (Jul 13, 2017)
Features
0.5.1 (Jun 2, 2017)
Bug Fixes
- status-msg: Corrected status message (724c625)
0.5.0 (Feb 10, 2017)
Bug Fixes
Features
- add the posibility to send attachments. (c56748e)
0.4.5 (Jan 26, 2017)
- Bugfixes
- listener: fix build change listener (see JENKINS-39690)
0.4.4 (Dec 30, 2016)
- Features
- new-rocket-api: first basic implementation (see JENKINS-40595), support for Rocket 0.48+ API
Attachments:
aba8ffce-eed8-11e6-9cb6-cbf3ac897ed5.png (image/png)
f52a134a-eed8-11e6-9eb8-0c8e5d566d3b.png (image/png)
e59386ae-eed9-11e6-977f-54eb4b03b4b4.png (image/png)
7684a292-eeda-11e6-8b87-dff4ba90df4d.png (image/png)
f96d0fc8-eeda-11e6-9a9b-46962e096479.png (image/png)