Skip to content

SonarQube passed ignoring test coverage threshold #905

Open
@Famondir

Description

@Famondir

Hi all,
today I set up PyBuilder with SonarQube. It works fine. But even though I have not met my test coverage threshold (neither the one stated in PyBuilder e.g. 70 % nor the standard one in SonarQube 80 %). When I just run sonar-scanner outside of the PyBuilder pipeline it notes me that the criteria are violated in SonarQube marking it as a Failure.

It would be great to communicate the threshold from PyBuilder or adjust the used quality gate somehow. Maybe this is already possible and you can tell me how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions