×
Find plugins

RocketChat Notifier1.2.0Minimum Jenkins requirement: 1.653ID: rocketchatnotifier

Plugin Information

View RocketChat Notifier on the plugin site for more information.

Allows users to send build notifications via RocketChat

Issues

Report in JIRA.

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

1.2.0 (Feb 15, 2018)

Bug Fixes

1.1.2 (Jan 25, 2018)

Bug Fixes

1.1.1 (Jan 10, 2018)

Bug Fixes


1.1.0 (Dec 30, 2017)
Features

  • Add support for posting to webhook Drop support for older rocket.chat versions (JENKINS-42099)

Bug Fixes

1.0.4 (Dec 11, 2017)

Bug Fixes

1.0.3 (Nov 24, 2017)

Bug Fixes

1.0.2 (Nov 23, 2017)

Bug Fixes

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

0.5.4 (Nov 10, 2017)

Bug Fixes

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

  • NPE: Corrected NPE error. (583b847)
  • status-msg: Corrected status message (724c625)

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
ArchivesGet past versions
Labels