Re: withCredentials doesn't populate variables

2017-09-17 Thread Arun Rao
> > > 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 to prevent credentials leaking. > > > > Regards, > > Daniel. > > > > *From

Re: withCredentials doesn't populate variables

2017-09-17 Thread Arun Rao
> > > > 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 to prevent credentials leaking. > > > > Regards, > > Daniel. > > > > *From: *Ar

withCredentials doesn't populate variables

2017-09-17 Thread Arun Rao
Very new to Jenkins and groovy, although I *thought* I was getting the hang of it. For reasons beyond my control, we're running an older version of Jenkins (1.651.3), so only the scripting pipeline is available, and not the declarative one. I have the following groovy snippet from a job I'm at