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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: mercurial-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.46.2 / Bitbucket Branch Source Plugin 2.1.2 /
      Credentials Binding Plugin 1.11
    • Similar Issues:

      Description

      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)
      

       

       

        Attachments

          Activity

          Hide
          ericabr 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.

          Show
          ericabr 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.
          Hide
          argus_k Dmytro Kozlovskyi added a comment -

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

          Show
          argus_k Dmytro Kozlovskyi added a comment - Looks like this issue fixed in Credentials Plugin 2.1.14. Worked for me now.
          Hide
          ericabr erica brown added a comment -

          I still have the same issue

          Show
          ericabr erica brown added a comment - I still have the same issue
          Hide
          argus_k Dmytro Kozlovskyi added a comment -

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

          Show
          argus_k Dmytro Kozlovskyi added a comment - Hi  erica brown  . Credentials for Github works for me too. But only credentials kind 'Secret text' shown here. 
          Hide
          jglick 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.

          Show
          jglick 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.

            People

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

              Dates

              Created:
              Updated: