Closed sanjchhoker closed 2 months ago
Hey @sanjchhoker! I'm here to help you out with any bugs, questions, or contributions you have in mind. I'm a bot, but don't worry, I'll do my best to assist you while we wait for a human maintainer to join the conversation.
The issue you're encountering is likely due to the ScopeConfig
method returning nil
, which means there is no scope configuration available for SonarQube. This is a known limitation mentioned in the documentation:
func (p Sonarqube) ScopeConfig() dal.Tabler {
return nil
}
To resolve this, you would need to ensure that the pluginConfig.scopeConfig
setting is enabled in the code. This setting controls whether the scope config option appears in the UI:
{pluginConfig.scopeConfig && (
<IconButton
icon={<LinkOutlined />}
helptip="Associate Scope Config"
size="small"
type="link"
onClick={() => {
setType('associate');
}}
/>
)}
If pluginConfig.scopeConfig
is not enabled, the scope config option will not be displayed [1][2].
To continue talking to Dosu, mention @dosu.
fyi I am using Sonarqube enterprise v10.6
What document were you referring to? I can clearly see that Sonarqube data source doesn't have any scope config: https://devlake.apache.org/docs/Configuration/SonarQube#step-3---adding-transformation-rules-optional
Step 2 Data entities https://devlake.apache.org/docs/Configuration/SonarQube/
@sanjchhoker I see. Sorry for missing the point, my brain somehow filtered the section completely for me. 😂 Will update the doc soon.
Hi @sanjchhoker , the docs have been updated by: https://github.com/apache/incubator-devlake-website/pull/787
You'll see the latest doc after it gets merged.
The updated sonarqube doc: https://devlake.apache.org/docs/Configuration/SonarQube/
Search before asking
What happened
Add sonarqube connection and add data scope to the connection - I can see data scopes coming through but cannot see scope config option. It’s all just N/A
What do you expect to happen
Expect to see option to add scope config and only then we can get DORA metrics
How to reproduce
Add sonarqube connection and the add data scope.
Anything else
No response
Version
v1.0.0
Are you willing to submit PR?
Code of Conduct