Re: Invoke another pipeline under another repository's branch

2017-09-17 Thread Dan Tran
found my own answer :-) ../repo-1/release%2Frelease-1 Need to escape the the / ins 'release/release-1' Thanks -Dan On Wednesday, September 13, 2017 at 10:37:32 PM UTC-7, Dan Tran wrote: > > Hi > > I have BitBucket Team job, I would in invoke another pipeline belong to > another git repo wi

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

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

Writing the Jenkins console output to a file placed in a remote server

2017-09-17 Thread Dev
I'm working on R&D project where my idea is to trigger a shell script from Jenkins and write the console output I get to a file (text file) placed in a remote windows server. I tried looking for options but none of them were helpful. Is there any way to write the Jenkins console output to a t