Can we give a failing grade to pull requests that introduce new warnings?

Specifically for Swift/iOS, we’d like to have SonarQube give a failing grade to any pull request that introduces new compiler warnings. Is this possible?

Hi,

Sorry, but we don’t pick up compiler warnings.

If this is something you really want, you’d need to parse the compile log yourself and get warnings into either our Generic Issue Report format or a SARIF report, either of which you could then import into analysis.

 
HTH,
Ann

1 Like