kr.st.je
(UndercoverPython)
July 15, 2020, 1:37pm
1
Hi,
we plan to integrate PR decoration into our SonarQube and I’ve seen this documentation https://docs.sonarqube.org/latest/analysis/pr-decoration/
Our source code is currently in GitHub.
When I understand the documentation correctly, our SonarQube instance needs to be reachable from outside, right? So GitHub can then send webhooks to our SonarQube instance ?
Colin
(Colin)
July 15, 2020, 1:56pm
2
Greetings!
SonarQube needs to be able to communicate with GitHub, but not the other way around.
kr.st.je
(UndercoverPython)
July 17, 2020, 11:17am
3
Hi @Colin
thank you for your answer. In the list of points to do there are these two point:
Enter your User authorization callback URL . Set this to your instance’s base URL. For example, yourinstance.sonarqube.com
.
Add a Webhook URL . Set this to your instance’s base URL. For example, yourinstance.sonarqube.com
.
This sounds like we need a SQ instance reachable from outside.
So how does it work then?
Colin
(Colin)
July 17, 2020, 12:17pm
4
Github requires these fields get filled in – in the context of PR decoration, they aren’t useful.
kr.st.je
(UndercoverPython)
July 17, 2020, 12:41pm
5
It would be good if the documentation has some explanation or some note on this.