add some customized parameters into the Message Body which is published to RabbitMQ



hello
I just tested rabbitmq-build-trigger-plugin in my jenkins。
build result message is published to my specified queue in RabbitMQ
Meesage body:
{
"project": "PROJECTNAME",
"number": "BUILDNUMBER",
"status": "SUCCESS|FAILURE|UNSTABLE.."
}

In My jenkins job always have some other customized parameters。

Could you add some infomation into the message body like below,

Meesage body:
{
"project": "PROJECTNAME",
"number": "BUILDNUMBER",
"status": "SUCCESS|FAILURE|UNSTABLE.."
"parameter": [
{
"name": "PARAMETERNAME",
"value": "VALUE"
},
{
"name": "PARAMETERNAME2",
"value": "VALUE2"
}
"token": "TOKEN",
}

and add all the available environment variables into the message body.