Use log filters to change the success criteria for a step. If filtering is not set up, Build Forge determines the success or failure of any step command by its exit status, where 0 is success and 1 is failure. Log filters allow you to evaluate step output and set step results to Fail, Pass, or Warn based on the contents of the step output, giving you the ability to closely control the criteria used to determine step success or failure.
For example, some commands always return a 0 exit status. A reporting command like net use prints a list of mapped network drives. The command always succeeds, even if the list does not contain the desired drive. Using a filter set, you can parse step output to look for a specific drive and mark the step as successful if it is found.
This section gives you information about log filters: