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

Can't configure SonarQube User Token (text field replaced with credentials drop-down).

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • credentials-plugin
    • None
    • Jenkins 2.176.1 and 2.249.2
      Ubuntu 18.04 w/ Tomcat8 and Windows Server 2016 Tomcat9.0.10
      Credentials Plugin v2.2.0 and v2.3.13
      "SonarQube Scanner for Jenkins" v2.9 and v2.12

      All tutorials I've seen for the SonarQube plugin show a text field to paste in the User Token. However, I'm seeing a Credentials dropdown for selecting and/or adding a token, except I'm unable to add a token in any form that works (screenshot attached) as nothing ever appears in the dropdown to select a defined token.

      I'm unsure if this is due to an issue with the SonarQube plugin or Credentials plugin. (Sorry if I guessed wrongly).

       

       

          [JENKINS-58061] Can't configure SonarQube User Token (text field replaced with credentials drop-down).

          Jeff VIncent created issue -
          Jeff VIncent made changes -
          Description Original: All tutorials I've seen for the SonarQube plugin show a text field to paste in the User Token. However, I'm seeing a Credentials dropdown for selecting and/or adding a token, except I'm unable to add a token in any form that works (screenshot attached) as nothing ever appears in the dropdown to select a defined token.

          I'm unsure if this is due to and issue with the SonarQube plugin or Credentials plugin. (Sorry if I guessed wrongly).

           

          !image-2019-06-17-20-12-20-160.png!

           
          New: All tutorials I've seen for the SonarQube plugin show a text field to paste in the User Token. However, I'm seeing a Credentials dropdown for selecting and/or adding a token, except I'm unable to add a token in any form that works (screenshot attached) as nothing ever appears in the dropdown to select a defined token.

          I'm unsure if this is due to an issue with the SonarQube plugin or Credentials plugin. (Sorry if I guessed wrongly).

           

          !image-2019-06-17-20-12-20-160.png!

           

          alexis villegas added a comment - - edited

          Same Issue...I was looking to add a new credential for sonarqube like I did for SSH but there is no option for that.

           

          EDIT:

           

          I follow the configuration for this url https://groups.google.com/forum/#!topic/jenkinsci-users/ONnVPSIExH4

           

          basically on the credentials page you have to add the token as secret text and give it an ID. after that the ID will show up on the dropdown for sonarqube token option.

          alexis villegas added a comment - - edited Same Issue...I was looking to add a new credential for sonarqube like I did for SSH but there is no option for that.   EDIT:   I follow the configuration for this url  https://groups.google.com/forum/#!topic/jenkinsci-users/ONnVPSIExH4   basically on the credentials page you have to add the token as secret text and give it an ID. after that the ID will show up on the dropdown for sonarqube token option.
          Jeff VIncent made changes -
          Attachment New: image-2019-07-31-12-23-33-121.png [ 48147 ]
          Jeff VIncent made changes -
          Attachment New: image-2019-07-31-12-25-22-755.png [ 48148 ]
          Jeff VIncent made changes -
          Attachment New: image-2019-07-31-12-25-25-766.png [ 48149 ]
          Jeff VIncent made changes -
          Attachment New: image-2019-07-31-12-27-28-291.png [ 48150 ]
          Jeff VIncent made changes -
          Attachment New: image-2019-07-31-12-31-11-944.png [ 48151 ]
          Jeff VIncent made changes -
          Attachment New: image-2019-07-31-12-33-57-056.png [ 48152 ]
          Jeff VIncent made changes -
          Attachment New: image-2019-07-31-12-35-23-304.png [ 48153 ]

            Unassigned Unassigned
            predatorvi Jeff VIncent
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: