I get a log file at the end of my build which indicates the status of the projects I build, I want to use this log file to give me exit code 1 when failed builds are not equal to 0.
Log file:
========== Build: 19 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
How do I create a batch file that sees if there are 1 failed(or more), and set %ERRORLEVEL%=1.