Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33687

BUILD_DISPLAY_NAME environment variable not updated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Windows Server 2012R2 64Bit,
      Jenkins v1.646 (ran directly),
      build-name-setter v1.5.1

      The build display name appears correctly in Jenkins (see 1.jpg and 2.jpg).
      However we've noticed that some plugins do not use the correct value. In our case we noticed it with the email-ext plugin where the BUILD_DISPLAY_NAME variable was replaced with the standard BUILD_NUMBER.
      When looking at the environment variables from that build, it is also not updated (as displayed in 3.jpg).

      As far as I can tell the email-ext plugin relies on this environment variable (as may others). But it does not get updated as I would expect by the build-name-setter plugin.

      This occured in freestyle jobs as well as in multibranch projects (through the multibranch plugin).

        1. build_name_setter.PNG
          build_name_setter.PNG
          8 kB
        2. 3.jpg
          3.jpg
          252 kB
        3. 2.jpg
          2.jpg
          181 kB
        4. 1.jpg
          1.jpg
          63 kB

            le0 Lev Mishin
            stammt Timo Stamm
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: