I am trying to embed BeyondComapre in Continuous Integration Process
I want to detect if a difference exists between two files then react to
that situation
I want to know if files are same or different - then I can later look at
output report if there are differences
In my batfile errorlevel is always 0 - even with difference
Thanks
batfile
=====
"C:\Program Files\Beyond Compare 3\bcompare.exe" /silent @GenerateReport.txt t1.txt t2.txt Report.txt
if %errorlevel%==0 goto exit
echo "error"
:exit
GenerateReport.txt
===============
file-report layout:side-by-side &
options:display-mismatches &
output-to:%3 %1 %2
pause
I want to detect if a difference exists between two files then react to
that situation
I want to know if files are same or different - then I can later look at
output report if there are differences
In my batfile errorlevel is always 0 - even with difference
Thanks
batfile
=====
"C:\Program Files\Beyond Compare 3\bcompare.exe" /silent @GenerateReport.txt t1.txt t2.txt Report.txt
if %errorlevel%==0 goto exit
echo "error"
:exit
GenerateReport.txt
===============
file-report layout:side-by-side &
options:display-mismatches &
output-to:%3 %1 %2
pause
Comment