Skip to content

sonar.cxx.other.rules not reloaded on SonarQube restart #2557

@br-rhrbacek

Description

@br-rhrbacek

According to this wiki page, the sonar.cxx.other.rules should be reloaded after SonarQube is restarted, but they are not.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Administration > Configuration > General Settings > CXX External Analyzers.
  2. Add new rules to sonar.cxx.other.rules.
  3. Click Save.
  4. Restart SonarQube.

Expected behavior
New rules should be visible in Rules tab in SonarQube.

Additional context
It seems that the rules are only registered during plugin installation, see this ticket: https://community.sonarsource.com/t/how-to-retrigger-define-functions-of-rulesdefinition-in-new-version-of-sonarqube/90314.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions