vasu402
(vasu)
February 11, 2021, 3:54am
1
Hello,
I am new to SonarQube and started with the developer 14 day trial version.
Use case: I have my repo in Git Hub, that i want be pulled and validated by SQ. I configured GIT Hub in ALM and i do see Pull Request Decoration & Import repositories from your ALM successful.
Issue: I don’t see a way to pull my repo from Git Hub. Please advise.
ganncamp
(G Ann Campbell)
February 11, 2021, 4:36pm
2
Hi,
Welcome to the community!
Sorry, but it’s simply not clear to me which steps you have and have not completed successfully.
Ann
vasu402
(vasu)
February 11, 2021, 4:44pm
3
Thanks for your response. I followed the link below and completed all the 3 steps and completed Adding pull request decoration to GitHub".
Create your GitHub App.
Install your GitHub App in your organization.
Update your SonarQube global settings with your GitHub App information
https://docs.sonarqube.org/latest/analysis/github-integration/
I didn’t see a need for " Setting up GitHub authentication" as this is just a POC.
vasu402
(vasu)
February 11, 2021, 4:45pm
4
My ask is to make SQ pull repo from Git Hub and apply XML validation rules.
ganncamp
(G Ann Campbell)
February 11, 2021, 5:13pm
5
Hi,
You do realize you have to have an agent, such as Jenkins, in between to do the pull & analysis, right?
Ann
vasu402
(vasu)
February 11, 2021, 5:24pm
7
Thanks for confirming, I didn’t realize its needed as the document doesn’t talk about it. I think i have my question answered.