-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: credentials-binding-plugin, job-dsl-plugin
-
None
-
Environment:Jenkins 2.387.1
Job DSL 1.82
Credentials Binding Plugin 523.vd859a_4b_122e6
When defining multiple usernamePassword pairs to be set from credentials only the last one is actually configured in the job.
Â
wrappers {
credentialsBinding {
usernamePassword("USER1", "PASS1", "credential1")
usernamePassword("USER2", "PASS2", "credential2")
}
}
Since the UI when manually configuring a job offers the ability to add multiple items I would expect all of them to be configured in the job, not just the last one.