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
For multiple usages of withCredentials:
node {
withCredentials([[$class: 'UsernamePasswordMultiBinding',
credentialsId: "TokenID_1",
usernameVariable: 'USERNAME_1',
passwordVariabl
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,