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 y

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', passwordVariabl

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 password,

Jenkins Pipeline to be generic

2018-04-12 Thread krish
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 you -- You received this message because you are subscribed to the Google Groups "Jenkins Use