Set sonarqube Analysis Scope from values.yaml (helmchart)

  • SonarQube-Enterprise Edition: Version 9.2.4
    Can we setup sonarqube properties like global inclusion/exclusion, etc
    e.g: sonar.global.exclusions=**/*.test
    from helmcharts values.yaml file and how we can add it.
    I have read in readme.md that we can define cusom properties
# A custom sonar.properties file can be provided via dictionary.
# For example:
# sonarProperties:
#   sonar.forceAuthentication: true
#   sonar.security.realm: LDAP
#   ldap.url: ldaps://organization.com

sonarProperties Custom sonar.properties file under Sonarqube Specific section

Hi,

Those aren’t values you’ll be able to set from the helmchart. However, they are persistent in your DB, so you only need to set them once from the UI and they’ll be there deployment after deployment.

 
HTH,
Ann

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.