Talk:Building iDempiere without Eclipse

From iDempiere en
Jump to navigation Jump to search

Hiep Lq commented:

  • Know issue
    • use environment variable on buckminster command

on jenkins, I use jenkins Global properties to add my customize environment variables.

after that i use this variable inside buckmister command, when variable name on upper case it's ok,

but when it's lower case, buckminster treat like don't have this variable

example:

  MY_VARIABLE=success
  import -D myproperties=${MY_VARIABLE}
  on runtime it become: import '-D' 'myproperties=success'
  my_varialbe=fail
  import -D myproperties=${my_varialbe}
  on runtime it become: import '-D' 'myproperties='

________________

Hi Hiep Lq, how are you setting the variable in jenkins? Maybe is a jenkins bug? --CarlosRuiz (talk) 06:48, 11 January 2018 (UTC)

________________

Hi Carlos Ruiz i set global variable like image.

Jenkin global variable.png

in complicate case i suggest this plugin Env Inject

________________

I see Hiep, seems like jenkins behavior is that environment variables are case insensitive, and there are tickets open about that, like JENKINS-34744 --CarlosRuiz (talk) 10:12, 11 January 2018 (UTC)