Proceed with sonarqube analysis even if there are test failures

My sonarqube analysis job is skipped due to the fact that there are some unit test failures.

How can i perform the analysis anyway?


You’ll need to configure your build pipeline to ignore test errors.

If I’m not mistaken, you’re using Azure Pipelines, so setting the continueOnError property will suffice.

- task: VSTest@2
  continueOnError: true
  (... other configs)
1 Like