I want to pass my environment variable as an Empty string or else with some "xyz" string based on my build requirement.
Asked
Active
Viewed 196 times
0

Query
- 625
- 1
- 7
- 22
-
2You mentioned Bash but your screenshot is from the Variable tab. you said "empty or else with some xyz" and in you last line you say only empty. what **exactly** is your question? – Shayki Abramczyk Apr 03 '19 at 06:34
-
yes its from variable tab, and i can pass any string like "xyz" but how to pass empty string there ? like "", ' ', all this option not consider as empty string – Query Apr 03 '19 at 13:45
-
Did you try instated of write "xyz" just leave it empty? – Shayki Abramczyk Apr 03 '19 at 14:47
-
if you leave it empty it will disable save button so it means it excepted some value – Query Apr 03 '19 at 15:13
-
I succeeded to leave it empty and save, check again. – Shayki Abramczyk Apr 03 '19 at 16:24
-
i just added screen capture, please check its mandatory to pass value – Query Apr 03 '19 at 16:33
-
Oh ok, I though you talked about general variables to the build definition, in the variables tab. If you define the variable there it can helps you? – Shayki Abramczyk Apr 03 '19 at 17:02