[JIRA] (JENKINS-57722) Build Name and Description Setter 2.0.0 does not change BUILD_DISPLAY_NAME

6 views
Skip to first unread message

honza.klos@gmail.com (JIRA)

unread,
May 28, 2019, 2:37:02 PM5/28/19
to jenkinsc...@googlegroups.com
Jan Klos created an issue
 
Jenkins / Bug JENKINS-57722
Build Name and Description Setter 2.0.0 does not change BUILD_DISPLAY_NAME
Issue Type: Bug Bug
Assignee: Damian Szczepanik
Components: build-name-setter-plugin
Created: 2019-05-28 18:36
Priority: Minor Minor
Reporter: Jan Klos

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

honza.klos@gmail.com (JIRA)

unread,
May 28, 2019, 2:43:01 PM5/28/19
to jenkinsc...@googlegroups.com

honza.klos@gmail.com (JIRA)

unread,
May 28, 2019, 2:48:02 PM5/28/19
to jenkinsc...@googlegroups.com
Jan Klos closed an issue as Duplicate
 
Change By: Jan Klos
Status: Open Closed
Resolution: Duplicate
Reply all
Reply to author
Forward
0 new messages