- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube = sonarqube-developer-184.108.40.206646
Scanner = sonar-scanner-220.127.116.110-windows
- what are you trying to achieve
I want to create a webhook to notify GitLab after every scan of C++ project
- what have you tried so far to achieve this
I’ve created an Alert as follows
I’ve created a Webhook as follows
Note that the URL is set with the Webhook URL from GitLab and the Secret is also set with the Authorization key from GitLab
Then I’ve executed a scan from SonarQube Runner to scan a C++ project and it has done successfully.
==> but I’ve seen no new Alert created from the GitLab Alerts page
Then I’ve executed this statement from Curl prompt to verify.
curl -X GET -u bbf841b95150f6c7d501c3d3bfb5b7c564ae6d16: http://localhost:9000/api/webhooks/list
And got this message
==> httpStatus 401 is telling me that there was an issue with authentication. Could you help tell me what possibly was missing?