SonarQube Version 7.9.4- the coverage is failing as new code coverage is not meeting the threshold and it shows many files which we are not touched at all in the feature branch

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this
    Hi All,

We are using SonarQube : version details below

  • Data Center Edition
  • Version 7.9.4 (build 35981)

For one of the project, develop is configured as main branch and we have feature branch created from develop. We have enabled the Quality gate and defined for both main branch and new code
In the short-lived branch, the coverage is failing as new code coverage is not meeting the threshold and it shows many files which we are not touched at all in the feature branch. So how is this feature branch code coverage calculation is happening?

Our Quality gate measures:

Hey there.

If you are running a Data Center Edition of SonarQube, you certainly have access to SonarSource’s Commercial Support. I would suggest reaching out there so you can be best assisted.

Thanks Colin. Can you please share the url if you have?

Never mind

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