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

Credentials dropdown empty for Bitbucket Branch Source Plugin with Legacy SCM when configuring external libraries at the global level

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • mercurial-plugin
    • None
    • Jenkins ver. 2.46.2 / Bitbucket Branch Source Plugin 2.1.2 /
      Credentials Binding Plugin 1.11

      It similar to JENKINS-38048

      Adding a "Legacy SCM" hg repository.

      The credentials ID drop down does not populate from existing items, nor do new items get added if I add them while editing the configuration.

      Console messages

       

      Uncaught TypeError: Cannot read property 'firstChild' of undefined
      at registerValidator
      
       Uncaught TypeError: Cannot read property 'value' of undefined
      at hasChanged (select.js:64)
      at onSuccess (select.js:94)
      at config.onSuccess (select.js:38)
      at klass.respondToReadyState (prototype.js:1657)
      at klass.onStateChange (prototype.js:1600)
      at XMLHttpRequest.<anonymous> (prototype.js:414)
      

       

       

          [JENKINS-44291] Credentials dropdown empty for Bitbucket Branch Source Plugin with Legacy SCM when configuring external libraries at the global level

          erica brown added a comment -

          I am having the same issue with any credentials with my Jenkins environment. When in Manage Jenkins -> Configure System - > Github 

          I have added credentials and the drop down always says none

          I have verified the credentials I added exist, but they don't show in the drop down.

          erica brown added a comment - I am having the same issue with any credentials with my Jenkins environment. When in Manage Jenkins -> Configure System - > Github  I have added credentials and the drop down always says none I have verified the credentials I added exist, but they don't show in the drop down.

          Looks like this issue fixed in Credentials Plugin 2.1.14. Worked for me now.

          Dmytro Kozlovskyi added a comment - Looks like this issue fixed in Credentials Plugin 2.1.14. Worked for me now.

          erica brown added a comment -

          I still have the same issue

          erica brown added a comment - I still have the same issue

          Hi ericabr . Credentials for Github works for me too. But only credentials kind 'Secret text' shown here. 

          Dmytro Kozlovskyi added a comment - Hi  ericabr  . Credentials for Github works for me too. But only credentials kind 'Secret text' shown here. 

          Jesse Glick added a comment -

          Possibly duplicate of JENKINS-41657. Hard to say since no one has said what version of this plugin they are running, much less how to reproduce from scratch.

          Jesse Glick added a comment - Possibly duplicate of  JENKINS-41657 . Hard to say since no one has said what version of this plugin they are running, much less how to reproduce from scratch.

            Unassigned Unassigned
            argus_k Dmytro Kozlovskyi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: