Re: withCredentials doesn't populate variables

2017-09-17 Thread Arun Rao
Ah, I see. Thanks -- I'll try that. -Arun On Sunday, September 17, 2017 at 11:51:31 AM UTC-7, Daniel Butler wrote: > > The variables for the withCredentials step are created in the environment > map, to use them in the pipeline script you’ll need to refer them as > env. > > > > So for your c

Re: withCredentials doesn't populate variables

2017-09-17 Thread Arun Rao
And that works great -- appreciate the help! -Arun On Sunday, September 17, 2017 at 11:51:31 AM UTC-7, Daniel Butler wrote: > > The variables for the withCredentials step are created in the environment > map, to use them in the pipeline script you’ll need to refer them as > env. > > > > So f

RE: withCredentials doesn't populate variables

2017-09-17 Thread Daniel Butler
The variables for the withCredentials step are created in the environment map, to use them in the pipeline script you’ll need to refer them as env. So for your case it would be: echo “${env.OD_USER}” That should run but all you’ll see is a bunch of *** as the withCredentials step filters the log