You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This is an excellent package, but I’ve encountered some issues.
I’m using version 1.21.0 of the package to analyze code quality across different branches on SonarQube version 10.6. It does correctly display the analysis results for the newfeature branch.
However, I noticed that when I switch to the Measures tab, a 404 error appears, as shown in the screenshot below.
Upon inspecting the HTTP requests made by the API, I found that as long as the Branch parameter in the query is set to a non-default branch, it returns a 404 error (as shown in the screenshot below). How can I resolve this issue?
Thank you for your dedication to sharing this package. I appreciate it!
To Reproduce
Steps to reproduce the behavior:
Navigate to a project with multiple branches.
Switch to a different branch, e.g., newfeature.
Select the Measures tab.
Receive the error message.
Expected behavior
Correctly display the risk chart for that branch
Screenshots
Software Versions
SonarQube Version: [Version v10.6 (92116)]
Plugin Version: [1.21.0]
Additional context
Ubuntu Version: [24.04]
Docker Version: [Docker version 27.1.2, build d01f264]
The text was updated successfully, but these errors were encountered:
To add more context, I was able to reproduce the issue. In my project settings, the Project display name and Project Key are set differently (as shown).
Additionally, I’m using Azure DevOps CI for configuration, which may have caused this issue in an unexpected scenario.
The following screenshot shows the Azure DevOps settings. I only configured the Project Key, leaving the Project Name field blank.
I've tried to replicate this but can't do so from the steps provided - I'm not clear on what you're setting in Azure Devops (I don't know which screen you're on in the truncated screenshot), or potentially how to replicate this without the Azure DevOps integration.
Firstly, can you confirm what the content of the HTTP response you're getting contains? It's likely to tell you that a requested key doesn't exist, the branch doesn't exist, or that the target component doesn't exist.
Can you also confirm if the component in the URL matches the key of the project, or if this is a multi-module project with sub components?
Describe the bug
This is an excellent package, but I’ve encountered some issues.
I’m using version 1.21.0 of the package to analyze code quality across different branches on SonarQube version 10.6. It does correctly display the analysis results for the newfeature branch.
However, I noticed that when I switch to the Measures tab, a 404 error appears, as shown in the screenshot below.
Upon inspecting the HTTP requests made by the API, I found that as long as the Branch parameter in the query is set to a non-default branch, it returns a 404 error (as shown in the screenshot below). How can I resolve this issue?
Thank you for your dedication to sharing this package. I appreciate it!
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Correctly display the risk chart for that branch
Screenshots
Software Versions
Additional context
The text was updated successfully, but these errors were encountered: