GitHub project onboarding

  • Enterprise Edition Version 9.9 (build 65466)
  • Deployed with Docker
  • Onboard project
  • I have connect GitHub app. I see the list of my repos in org. But cant create project for any repo. I got an error : “Component name can’t be empty”.
    Tried to recreate App in GitHub.

Hi,

Your screenshot shows that you’ve selected a repository to onboard(?) and I guess you’ve clicked the “Set up selected repository” button. And then you get the red error?

Is there anything interesting in your browser console?

 
Ann

Hello,
Yes, you are right. I have selected repo and clicked on “Set up selected repository”. But then i got such an error “Component name can’t be empty”. Do you know what could be causing this?

Hi,

I don’t know yet. Could you check your browser console? It might tell us.

 
Ann

POST https://sonarqube.sleepnumberlabs.com/api/alm_integrations/import_github_project 400
Uncaught (in promise) Response {type: ‘basic’, url: ‘https://sonarqube.sleepnumberlabs.com/api/alm_integrations/import_github_project’, redirected: false, status: 400, ok: false, …}

Hi,

Unfortunately, I can’t read your screenshot and I guess it was uploaded at a small resolution, because Discourse isn’t offering me the option to zoom it.

A 400 error is a ‘Bad Request’ error. I suspect this is related to permissions. Do you have permissions in SonarQube to create projects?

 
Ann

Hello!
I have admin permission in SonarQube, but sill have the same error.

Do you have any idea what it could be? Maybe a problem with the github application?

Hi,

What about your permissions on the GitHub side? What permission level do you have on the project in question there? Was the GitHub app granted all the requisite permissions?

 
Ann