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

Credentials drop-down list empty in "Remote Jenkinsfile Provider" in case of Mercurial SCM

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • mercurial-plugin
    • None
    • Jenkins 2.249.2

      Hi,

      Very strange issue I am facing currently.

      At a certain part of a job configuration (multibranch-pipeline job) the credentials drop-down list is empty for none-admin users, but not at every place where the drop-down list is used.

      For normal users:

      "Branch Sources" section: okay! drop-down list contains credentials (see good_01.PNG)
      "Build Configuration" section: not okay! drop-down list is empty (see bad_01.PNG)

      For admin users:

      "Build Configuration" section: okay! drop-down list is contains credentials (see good_02.PNG)

       

      I am not sure which plugin is responsible for this, to be honest. Here is a list of plugins with versions that I can think of being responsible for this:

      Mercurial v2.11

      Credentials Plugin v2.3.13

      Remote Jenkinsfile Provider v1.11

       

      We are using Matrix based security strategy (see authorization.PNG for details).
      I've tried to enable all settings under 'Credentials' for none-admin users (the "jenkins-users" group), but made no difference, the drop-down list for the "Remote Jenkinsfile" section remained empty.

       

      I've spend the last few hours searching the issue list to see if this is already reported somewhere. But haven't found and issue where at one place the drop-down list is filled and at another place it is empty.

        1. authorization.PNG
          authorization.PNG
          50 kB
        2. bad_01.PNG
          bad_01.PNG
          40 kB
        3. good_01.PNG
          good_01.PNG
          41 kB
        4. good_02.PNG
          good_02.PNG
          45 kB

          [JENKINS-64052] Credentials drop-down list empty in "Remote Jenkinsfile Provider" in case of Mercurial SCM

          Tamas Csabina added a comment -

          Dear Community!

          What should be my expectations about such a bug report? Is this being picked up/assigned to someone whoever thinks can tackle this issue? Or is there some kind of regular scanning of new issues by some committee which ends of assigning issues at the end?

          Tamas Csabina added a comment - Dear Community! What should be my expectations about such a bug report? Is this being picked up/assigned to someone whoever thinks can tackle this issue? Or is there some kind of  regular scanning  of new issues by some committee which ends of assigning issues at the end?

          Can you please check if it happens on Jenkins 2.244 but not on Jenkins 2.243? Thanks!

           

          Félix Queiruga Balado added a comment - Can you please check if it happens on Jenkins 2.244 but not on Jenkins 2.243? Thanks!  

          Tamas Csabina added a comment -

          Hi Felix,

           

          What do you mean? We are on 2.249.2. Shall I roll back to 2.243 and test? And upgrade to 2.244 and test again?

          Tamas Csabina added a comment - Hi Felix,   What do you mean? We are on 2.249.2. Shall I roll back to 2.243 and test? And upgrade to 2.244 and test again?

          Tamas Csabina added a comment - - edited

          Can I raise awareness of this ticket?

          Tamas Csabina added a comment - - edited Can I raise awareness of this ticket?

          Jesse Glick added a comment - - edited

          is there some kind of regular scanning of new issues by some committee

          I am afraid not. The mercurial plugin is in bare-bones maintenance mode. In this case the issue might lie in the remote-file plugin; I am not familiar with it.

          Jesse Glick added a comment - - edited is there some kind of regular scanning of new issues by some committee I am afraid not. The mercurial plugin is in bare-bones maintenance mode. In this case the issue might lie in the remote-file plugin; I am not familiar with it.

          Aytunc BEKEN added a comment -

          Hi tcsabina
          this can be related to https://plugins.jenkins.io/authorize-project/
          Remote-File plugin do not filter the credentials.

          Aytunc BEKEN added a comment - Hi tcsabina this can be related to https://plugins.jenkins.io/authorize-project/ Remote-File plugin do not filter the credentials.

            Unassigned Unassigned
            tcsabina Tamas Csabina
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: