[JIRA] (JENKINS-43632) Not Possible to Set Blank Environment Variables?

0 views
Skip to first unread message

tlindstr@cisco.com (JIRA)

unread,
Nov 9, 2018, 10:25:03 AM11/9/18
to jenkinsc...@googlegroups.com
Todd Lindstrom commented on Bug JENKINS-43632
 
Re: Not Possible to Set Blank Environment Variables?

Vote for this issue is disabled for me.  Please count this as my +1 - Blue ocean USER INTERFACE should not drive the requirements for how a program displays its data - it should respond to the needs of the users and accommodate the use cases that customers need.  Clearly if the job description allows HTML for normal Jenkins use - then BO should accommodate this.

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

christian07.schneider@conti.de (JIRA)

unread,
May 21, 2019, 4:16:03 AM5/21/19
to jenkinsc...@googlegroups.com
Christian Schneider reopened an issue
 

I would also consider this a bug. Environment variables with an empty string should be possible. It is not the same as unset.

Jenkins / Bug JENKINS-43632
Change By: Christian Schneider
Resolution: Not A Defect
Status: Resolved Reopened

gegles@gmail.com (JIRA)

unread,
Nov 20, 2019, 9:56:02 PM11/20/19
to jenkinsc...@googlegroups.com
Guillaume Egles commented on Bug JENKINS-43632
 
Re: Not Possible to Set Blank Environment Variables?

Any update on this? This is clear a bug and a problem! I had to do some crazy things to work around such a basic thing...

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

vve@gmx.de (JIRA)

unread,
Mar 27, 2020, 6:57:03 AM3/27/20
to jenkinsc...@googlegroups.com

Same here...

I wanted something like this: 
VERSION_SUFFIX = "${env.BRANCH_NAME == "master" ? "" : "-alpha"}"
It fails without information about the problem.
Is there a workaround?

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

vve@gmx.de (JIRA)

unread,
Mar 27, 2020, 7:47:02 AM3/27/20
to jenkinsc...@googlegroups.com
Volker von Einem edited a comment on Bug JENKINS-43632
Same here...

I wanted something like this: 
VERSION_SUFFIX = "${env.BRANCH_NAME == "master" ? "" : "-alpha"}"
It fails without information about the problem.
Is there a workaround?


 

Update:

A workaround - not nice - that worked for me aw to use a blank " ".

VERSION_SUFFIX = "${env.BRANCH_NAME == "master" ? " " : "-alpha"}"
Reply all
Reply to author
Forward
0 new messages