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

          Emmanuel Tatto created issue -
          Emmanuel Tatto made changes -
          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" }
          Gareth Western made changes -
          Assignee New: Gareth Western [ gareth_western ]

          Hi etatto, sorry I never saw this issue. It's probably too late now, but i've logged it in Github as #15 and will try to investigate it soon.

          Gareth Western added a comment - Hi etatto , sorry I never saw this issue. It's probably too late now, but i've logged it in Github as #15 and will try to investigate it soon.
          Gareth Western made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            gareth_western Gareth Western
            etatto Emmanuel Tatto
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: