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

[Gitlab plugin] Credentials drop-down doesn't show API token credential!

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • gitlab-plugin
    • Gitlab Plugin 1.3.0. Jenkins 2.7.1 hosted on Windows 7 64-bit, Java 1.8 64-bit. Client is Chrome 51 on Windows 10

      On Manage Jenkins -> Configure System, in the Gitlab section, there's a Credentials section that had a drop-down list where I should be able to specify an API Token. The drop down says "-none" and has no other options. If I choose Add -> Jenkins, then under Kind I can select "GitLab API token" and put in the info, and click Add. But the credential I've added does not show up in the drop-down, so I can't select it, and I have the red "API Token for Gitlab access required" message.

      I expect to be able to see the API token credential I have added in the drop-down list so I can select it and connect. But it is not there.

      As a result I am unable to use the plugin at all.

        1. 123.png
          123.png
          8 kB
        2. 1234.png
          1234.png
          30 kB
        3. abc.png
          abc.png
          93 kB
        4. jenkins-gitlab-api-token-bug.png
          jenkins-gitlab-api-token-bug.png
          100 kB
        5. support_2016-08-03_03.23.23.zip
          110 kB

          [JENKINS-36863] [Gitlab plugin] Credentials drop-down doesn't show API token credential!

          Tyrel Haveman created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173610 ] New: JNJira + In-Review [ 185229 ]
          Alex Chapman made changes -
          Attachment New: support_2016-08-03_03.23.23.zip [ 33507 ]
          Alex Chapman made changes -
          Attachment New: jenkins-gitlab-api-token-bug.png [ 33508 ]
          Robin Müller made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Tyrel Haveman made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Marslo Jiao made changes -
          Attachment New: abc.png [ 34936 ]
          Marslo Jiao made changes -
          Attachment New: 1234.png [ 34937 ]
          Marslo Jiao made changes -
          Attachment New: 123.png [ 34938 ]

            coderhugo Robin Müller
            tyrelh Tyrel Haveman
            Votes:
            5 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: