Skip to content

Conversation

@saturner74
Copy link

  • add --fail-any-warn run option

This parameter lets the tool return a non-zero exit code which can then be detected by an Azure DevOps pipeline to flag/terminate the build. A non-zero exit code is preferable to adding extra pipeline steps that check for existence of a .sarif file and parsing its contents.

@JarLob
Copy link
Contributor

JarLob commented May 31, 2022

Thanks!

@JarLob JarLob merged commit f3a75a4 into security-code-scan:vs2019 May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants