Is there anyway in Teamcity where you can fail a build because the changes/files contain characters or words that are not accepted?
i.e.
In Javascript files I'd want console.log
to never end up at release/production level and want the build to fail if this exists anywhere to prevent this from happening.