Re: Problems with ENV variables in jenkins 2.1.41?

2018-09-07 Thread 'Björn Pedersen' via Jenkins Users


> And what global config are you  referring to? 
> Manage jenkins -> global properties -> Environment variables ? 
>
==> works ok on 2.141 here
   

> Node config -> Node properties -> Environment variables?
>

==> A global vars are not overriden  by node vars
==> If defined just as node variable works OK
 

> Job variables (EnvInject plugin??) 
>
> Björn 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b59fa367-6010-4b43-acaa-c2bfc337b11c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problems with ENV variables in jenkins 2.1.41?

2018-09-07 Thread 'Björn Pedersen' via Jenkins Users
Hi, 

Am Mittwoch, 5. September 2018 12:46:50 UTC+2 schrieb Gorgonz ola:
>
> Again, I'm new to jenkins. So maybe someone should validate, that it is 
> the jenkins version and not a different presumption ;-)
>
> Using jenkins 2.1.40 with opensuse leap 15.0:
>

What are the jenkins versions (as  reportes e.g. in UI), not the package 
version? 
There is no 2.1.40 ( either you are usin g a LTS version, then it be a 
triple-dotted number, the first in the 2-series is 2.7.1, or a weekly  
build, then it is a doublet, current 2.141) 
I guess you  have a 2.140/141 installed,
And of course the installed plugins also are important. Are they up to date?
And what global config are you  referring to? 
Manage jenkins -> global properties -> Environment variables ?
Node config -> Node properties -> Environment variables?
Job variables (EnvInject plugin??) 

Björn 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f7eed9c5-5f84-4347-933e-bc770e2a29f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problems with ENV variables in jenkins 2.1.41?

2018-09-06 Thread Gorgonz ola
Hi Cuong,

thanks for Your suggestion. I did it with a free style job and used as 
build step a shell. I think, this is the most simple test ;-)

But tumbleweed has pretty new packages and I can't figure out, which one 
causes the trouble, especially since there is only one dependency, that I'm 
aware of: java resp. openjdk

In both oss I'm using the same: openjdk 1.8.0

But wait, maybe it is the webserver ... tumbleweed uses 2.4.34 and leap 
uses 2.4.33. No I don't think, that makes the difference.


Am Donnerstag, 6. September 2018 20:37:54 UTC+2 schrieb Cuong Tran:
>
> I would try to verify this with a FreeStyle job to see if the problem is 
> somewhere else.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/eb845ef0-da88-4ef8-b45f-dcf70f75d820%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problems with ENV variables in jenkins 2.1.41?

2018-09-06 Thread Cuong Tran
I would try to verify this with a FreeStyle job to see if the problem is 
somewhere else.

On Wednesday, September 5, 2018 at 9:55:21 AM UTC-7, Gorgonz ola wrote:
>
> [UPD]Nope, its not that simple, Returning to version 2.1.40 did not help. 
> Its likely a problem, that results from the newer packages, that are 
> installed with tumbleweed
>
> Am Mittwoch, 5. September 2018 12:46:50 UTC+2 schrieb Gorgonz ola:
>>
>> Again, I'm new to jenkins. So maybe someone should validate, that it is 
>> the jenkins version and not a different presumption ;-)
>>
>> Using jenkins 2.1.40 with opensuse leap 15.0:
>> - I'm able to define ENV variables in the global config
>> - a shell build step in order to echo the variables works fine
>>
>> The resultung konsole output from "echo HTDOCS_DIR $HTDOCS_DIR ..." is:
>>
>> + echo HTDOCS_DIR /srv/www/htdocs/
>> HTDOCS_DIR /srv/www/htdocs/
>> + echo JOOMLA4_DIR joomla4-dev
>> JOOMLA4_DIR joomla4-dev
>>
>>
>> Using jenkins 2.1.41 with opensuse leap thumbleweed:
>> - I'm able to define ENV variables in the global config
>> - a shell build step in order to echo the variables shows empty values
>>
>> The resulting konsole output is:
>>
>> + echo HTDOCS_DIR
>> HTDOCS_DIR
>> + echo JOOMLA4_DIR
>> JOOMLA4_DIR
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/948cfa7d-6a5a-4c46-9bb0-f0d0cf4da861%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problems with ENV variables in jenkins 2.1.41?

2018-09-05 Thread Gorgonz ola
[UPD]Nope, its not that simple, Returning to version 2.1.40 did not help. 
Its likely a problem, that results from the newer packages, that are 
installed with tumbleweed

Am Mittwoch, 5. September 2018 12:46:50 UTC+2 schrieb Gorgonz ola:
>
> Again, I'm new to jenkins. So maybe someone should validate, that it is 
> the jenkins version and not a different presumption ;-)
>
> Using jenkins 2.1.40 with opensuse leap 15.0:
> - I'm able to define ENV variables in the global config
> - a shell build step in order to echo the variables works fine
>
> The resultung konsole output from "echo HTDOCS_DIR $HTDOCS_DIR ..." is:
>
> + echo HTDOCS_DIR /srv/www/htdocs/
> HTDOCS_DIR /srv/www/htdocs/
> + echo JOOMLA4_DIR joomla4-dev
> JOOMLA4_DIR joomla4-dev
>
>
> Using jenkins 2.1.41 with opensuse leap thumbleweed:
> - I'm able to define ENV variables in the global config
> - a shell build step in order to echo the variables shows empty values
>
> The resulting konsole output is:
>
> + echo HTDOCS_DIR
> HTDOCS_DIR
> + echo JOOMLA4_DIR
> JOOMLA4_DIR
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b802249c-62f8-4f28-82af-b4ff9d9d5beb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Problems with ENV variables in jenkins 2.1.41?

2018-09-05 Thread Gorgonz ola
Again, I'm new to jenkins. So maybe someone should validate, that it is the 
jenkins version and not a different presumption ;-)

Using jenkins 2.1.40 with opensuse leap 15.0:
- I'm able to define ENV variables in the global config
- a shell build step in order to echo the variables works fine

The resultung konsole output from "echo HTDOCS_DIR $HTDOCS_DIR ..." is:

+ echo HTDOCS_DIR /srv/www/htdocs/
HTDOCS_DIR /srv/www/htdocs/
+ echo JOOMLA4_DIR joomla4-dev
JOOMLA4_DIR joomla4-dev


Using jenkins 2.1.41 with opensuse leap thumbleweed:
- I'm able to define ENV variables in the global config
- a shell build step in order to echo the variables shows empty values

The resulting konsole output is:

+ echo HTDOCS_DIR
HTDOCS_DIR
+ echo JOOMLA4_DIR
JOOMLA4_DIR



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a23509cf-1864-4e59-a9f1-20015fc9c455%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.