nsmohan
(Nitin Mohan)
1
I am trying to configure sonarqube with gitlab following this tutorial:
https://docs.sonarqube.org/latest/analysis/gitlab-integration/
However when I enter the personal access token in I get the following error:
Could not parse GitLab answer to verify read permission. Got a non-json payload as result.
What am I missing?
Hi, you can turn SonarQube logs to DEBUG
to have more details in the log files about what happens.
nsmohan
(Nitin Mohan)
3
How do I change the log level to DEBUG?
I updated sonar.properties and set all the log levels to debug. Restarted the docker container but the log level is still showing INFO.
nsmohan
(Nitin Mohan)
4
When I go to create a new project from gitlab I am also seeing the following errors:
Hi, you most likely have your GitLab URL misconfigured, or a proxy in between causing the issue.
Are you using gitlab.com, or an on-premise version?
nsmohan
(Nitin Mohan)
6
I have both sonarqube and gitlab running in docker containers.
I access gitlab via this URL: http://192.168.76.64:85/
This what I have in my settings:
Your Gitlab API URL is incorrect. it should point to the Gitlab API. Something like http://your-ip:85/api/v4
You can check that the API URL is correct by opening http://192.168.76.64:85/api/v4/user
in your browser (while authenticated).
nsmohan
(Nitin Mohan)
8
I updated the URL and that issue seems to have gone away.
I have a simple project with a simple source file + some test code.
Now I am seeing this:
I am trying to configure sonarqube with gitlab
when I enter the personal acces token , I was getting the following error
And also my Gitlab projects were authenticated
Is there any way you can help me with this?
In the configuration page , I’m getting something like this
Can you help me by providing me with correct URL to access the private projects from Gitlab?
Do you use gitlab.com, or Gitlab on-premise?
Now I am getting this error
After changing the GitLab API URL
I have validated the Personal Acces Token using POSTMAN Software
In POSTMAN it’s showing the details of GitLab perfectly
Is there any way you can help me with?
Thanks
Manikumar