The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Rabbit-MQ Publisher Plugin

rabbitMQPublisher: Publish to Rabbit-MQ

This build step can be used to publish message to Rabbit-MQ.
  • rabbitName : String
  • exchange : String
    The name of the exchange.
  • data : String
    Data to send, in raw format, json format or list of key/value.
    Can contains environment variables (preferred) and build parameters (eg: ${FOO} or $FOO) which will be resolve before sending the message. Can also use ${BUILD_USER_ID} and ${BUILD_USER_NAME} to retrieve the information's user who launch the job.
  • conversion : boolean (optional)
    if checked, there will be Spring escaping . It is especially important with Json formatting .
    • if Checked, the message is "{\"step\":\"end\"}"
    • if unchecked, the message is {"step":"end"}
  • routingKey : String (optional)
    An explicit routing key binding the queue to this exchange.
  • toJson : boolean (optional)
    • If check : convert the data to a JSON object, following java nomenclature for field name.
      The data must be a list in the format key=value and the key must start with a letter character
    • If uncheck : the raw message without transformation

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.