How can I integrate Visual Leak Detector with TeamCity?

58 Views Asked by At

Can I integrate Visual Leak Detector with TeamCity? If yes, how?

1

There are 1 best solutions below

0
Trass3r On

Parse its leak reports.

FOR /f "tokens=*" %%F IN ('dir /B *_memLeak.txt') DO (
  findstr "/C:No memory leaks detected." "%%F"
  if ERRORLEVEL 1 (
      echo ##teamcity[buildProblem description='Leaks in %%~nxF']
  )
)