Re: Jenkins Pipeline to be generic

2018-04-17 Thread krish
Thanks Guys. That works On Thursday, 12 April 2018 15:06:19 UTC-4, krish wrote: > > Hi, > > how can we use the multiple credentials into jenkins pipeline, in our > environment diff applications have diff userid and password, is their a > smarter way to define this in jenkins pipeline > > thank

Re: Jenkins Pipeline to be generic

2018-04-14 Thread Srivathsa Reddy
For multiple usages of withCredentials: node { withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: "TokenID_1", usernameVariable: 'USERNAME_1',

Re: Jenkins Pipeline to be generic

2018-04-13 Thread srivathsa . puliyala
You can use *withCredentials* https://jenkins.io/doc/pipeline/steps/credentials-binding/ On Thursday, April 12, 2018 at 3:06:19 PM UTC-4, krish wrote: > > Hi, > > how can we use the multiple credentials into jenkins pipeline, in our > environment diff applications have diff userid and