Find plugins

MQ Notifier1.2.4Minimum Jenkins requirement: 1.580.1ID: mq-notifier

Installs: 162
Last released: 5 months ago
Örjan Percy
Tomas Westling

This plugin sends messages to an MQ, e.g. RabbitMQ whenever a build is started and finished. It also sends a message when a build enters and leaves the queue.
By extending this plugin, developers can add events for when to send messages to MQ.

Plugin Information

Plugin ID



In Latest Release
Since Latest Release

Latest Release
Latest Release Date
Required Core

1.2.4 (archives)
Oct 02, 2017
matrix-project (version:1.4)

Source Code
Issue Tracking
Pull Requests

Open Issues
Pull Requests
Örjan Percy (id: orjanpercy)
Tomas Westling (id: t_westling)



2016-Oct 27
2016-Nov 27
2016-Dec 38
2017-Jan 45
2017-Feb 44
2017-Mar 77
2017-Apr 107
2017-May 125
2017-Jun 118
2017-Jul 130
2017-Aug 136
2017-Sep 151

General information

The plugin connects to an MQ, e.g. RabbitMQ and sends messages during specific events. In its first version, the messages are sent when:

  • A build is added to the queue
  • A build leaves the queue (either to be built or is cancelled)
  • A build starts
  • A build finishes (either when the build is finished or when it is aborted)

The basic use case is for other systems to interact with Jenkins. An example is a system that triggers a build using the rest API of Jenkins,
then waits for the build to finish. The system wants to present information about these builds. The alternative to listening to an MQ is for the system
to continuously poll Jenkins for information of the build status.

Other events can be added to the plugin by extending it.

Message format

Entering queue


Leaving queue


Build started


Unknown macro: {"UserIdCause", "Started by user Bunny McQueen"}


Build finished



The settings are all MQ-related. The only required settings are the MQ URI, for where to find the MQ server and Exchange name,
for where to send the messages inside the MQ. The other settings are all optional and related to your MQ setup, you can read more
about them at e.g. the RabbitMQ site here: RabbitMQ docs

Change Log

Version 1.2.4 (released Oct 02, 2017)

Add "Build Duration" time to the published AMQP event.

Version 1.2.3 (released June 08, 2017)

Added a null check to fix NullPointerExceptions in the CauseProvider

Version 1.2.2 (released May 22, 2017)

Collect additional build and host data (project names, jenkins master fqdn)
Collect data about time spent in queue and assigned label

Version 1.2.1 (released Feb 16, 2017)

Added an extension point for providing data to the notifier

Version 1.2.0 (released Dec 22, 2016)

Support for pipeline projects

Version 1.1.5 (released Dec 09, 2016)

Added internal queue for when connection to MQ is down.
Several fixes regarding saving of the configuration.
Build parameters added to all of the existing messages.

Version 1.0 (released May 18, 2016)

Initial release

ArchivesGet past versions