Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70835

Last credentialsBinding usernamePassword overrides the others instead of adding to list


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 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.

            jamietanna Jamie Tanna
            mhoermann Matthias Hörmann
            0 Vote for this issue
            2 Start watching this issue