Description
This plugin allow to create a build step which can publish a message to Rabbit MQ
2 parts :
- Configuration of the Rabbit Host
- Configuration of the step
The message can be a raw json, or a simple string, or a list a key/value which can be convert to a json string
Usage
System configuration
add you connection configurations with the parameters :
- name : label to select the desired configuration on the build step
- host : the default host to use for connections
- port : the default port to use for connections
- username : the AMQP user name to use when connecting to the broker
- password : the password to use when connecting to the broker
Exemple :
{height="400"}
Job configuration
-
Select the "Publish to Rabbit-MQ" step :
{height="250"}{height="250"} -
Add you configuration to publish your message
{height="400"}You can use build parameters (eg: ${FOO} or $FOO) which will be resolve before sending the message. You can also use ${BUILD_USER_ID} and ${BUILD_USER_NAME} to retrieve the informations from the user who launch the job.
Version 1.3.1 (May 22,2019)
Version 1.3.0 (May 16,2019)
- Add a conversion flag that sends tidy JSON to RabbitMQ
- Add RabbitMQ VirtualHost parameter
- Upgrade to last jenkins stable version (2.164)
Version 1.2.1 (March 09,2019)
- fix issues with latest Spring version by using previous versions
Version 1.2.0 (March 02, 2019)
- Enable environment variables in data
- Adding ability to use a secure connection protocol
- Destroy the connection after finishing sending message
- Security issues fixing (SECURITY-848 & SECURITY-970)
- Minor bugs fixes
Version 1.0 (April 03, 2018)
-
first release