-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug][Sonarqube] Can not load data scope - Requires support for Sonarcloud API #7091
Comments
@ces-truongvu This seems to be a problem with filling in the connection, and the test connection does have a bug, which causes the user to test successfully even if he fills in the wrong information. |
@ces-truongvu It will take effect in v0.21.0-beta7 version, expected to be released this week. |
@abeizn Thank you. |
Hi @abeizn, I've updated to the latest version (v0.21.0.beta7), I believe this issue still not be fixed. Steps to produceTest connection works But data scope does not show my projects. What I found outSo, I've started development environment and modified the following file I wish I can create the PR but I am not familiar with Golang. |
@ces-truongvu Are you using the sonarcloud version? We do not support sonarcloud yet, the corresponding issue is: #4838. The supported versions are shown in this document: https://devlake.apache.org/docs/Plugins/sonarqube |
@abeizn Yes, I'm using Sonar cloud. Got it, thanks for your support. |
@ces-truongvu - We are using SonarQube Server - Enterprise EditionVersion 9.9.2 (build 77730). Connection is shown as successful. I still dont see projects. They are not loaded when adding Data scope. Can you please assist. |
@mrpaapi Devlake only supports SonarQube v8.x, v9.x. Find out more here. |
I'm not sure this issue is resolved? I'm using 1.0.0-beta9 and still seeing the same behaviour. When going to "Manage Connection" and click test, the UI says succeeded, but if you look at the logs, it actually failed. When viewing the scopes, and you click test connection, this time it correct says disconnected / failed, and then not return anything. The (redacted html) response from the search api on sonarqube is :
The response should be json, not html which is why this fails. |
Hmm, fault exists between chair and keyboard. Well, kindoff... I realised that I entered the url wrong. I omitted the |
@marais-vzc What's the sonarqube's version that you are using? |
Latest LTS - SonarQube DC 9.9.5 |
SonarQube >9.2 and SonarCloud are not supported at this point. |
When can we expect to get DevLake support for SonarQube Enterprise Edition 10.5.1? |
@sr2530 No one is working on it at this point, we are open for anyone who would like to contribute. |
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs. |
not stale |
FYI. I am working on the Sonarcloud support now. |
Search before asking
What happened
Add Sonarqube connection successfully but its projects not loaded when adding Data scope.
What do you expect to happen
Should show Sonarqube projects.
How to reproduce
Anything else
I found out that the key of the organization is required. Seems you are using deprecated API, check it out here.
Version
v0.21.0-beta6
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: