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

Build Name and Description Setter 2.0.0 does not change BUILD_DISPLAY_NAME

XMLWordPrintable

      After an update to 2.178 (+plugins update), Build Name and Description Setter 2.0.0 does not change BUILD_DISPLAY_NAME env. variable when used in Execute Shell part of the job:

      Set Build Name + Set build name before build starts checked and Build Name value filled
      Execute shell:

      VERSION="${BUILD_DISPLAY_NAME}"

      Working build on older version:

      13:37:03 First time build. Skipping changelog.
      13:37:03 Set build name.
      13:37:03 New build name is 'ns-11.10.4-137'
      13:37:03 [ns-docker-gitlab] $ /bin/sh -xe /tmp/jenkins5134857411850746959.sh
      13:37:03 + VERSION=ns-11.10.4-137
      

      2.178 + 2.0.0:

      11:11:52 First time build. Skipping changelog.
      11:11:52 New run name is 'ns-11.11.0-143'
      11:11:52 [ns-docker-gitlab] $ /bin/sh -xe /tmp/jenkins8791603508002973823.sh
      11:11:52 + VERSION='#143'
      

      There seems to be a disconnect between run name vs. build (dsiplay) name, the new versions do not seem to support any new environment variable.

            dszczepanik Damian Szczepanik
            ddd Jan Klos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: