Rule executes when a build fails. You can configure this rule to only trigger on certain build names. See trigger documentation for more details.