-
Bug
-
Resolution: Unresolved
-
Minor
-
None
I'm using the Build Name Setter Plugin for updating the names of build on my jobs. This plugins set/update the BUILD_DISPLAY_NAME variable correctly, but when use with the MQTT Notification Plugin, it is not replace with its value.
For example, a template message like { "job": "${JOB_NAME}", "name": "${BUILD_DISPLAY_NAME}", "state": "${BUILD_RESULT}" } leads to a { "job": "FooBar", "name": "${BUILD_DISPLAY_NAME}", "state": "SUCCESS" }
[JENKINS-45046] BUILD_DISPLAY_NAME not replaced with its value
Description |
Original:
I'm using the Build Name Setter Plugin for updating the names of build on my jobs. This plugins set/update the BUILD_DISPLAY_NAME variable correctlyd, but when use this MQTT Notification Plugin, it is not replace with its value. Example : A template message like \{ "job": "$\{JOB_NAME}", "name": "$\{BUILD_DISPLAY_NAME}", "state": "$\{BUILD_RESULT}" } leads to a \{ "job": "FooBar", "name": "$\{BUILD_DISPLAY_NAME}", "state": "SUCCESS" } |
New:
I'm using the Build Name Setter Plugin for updating the names of build on my jobs. This plugins set/update the BUILD_DISPLAY_NAME variable correctly, but when use with the MQTT Notification Plugin, it is not replace with its value. For example, a template message like \{ "job": "$\{JOB_NAME}", "name": "$\{BUILD_DISPLAY_NAME}", "state": "$\{BUILD_RESULT}" } leads to a \{ "job": "FooBar", "name": "$\{BUILD_DISPLAY_NAME}", "state": "SUCCESS" } |
Assignee | New: Gareth Western [ gareth_western ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |