Hi, I’m an absolute beginner of Jenkins. Now I am supporting auto build by Jenkins with calling a batch file that needs Bullseye Coverage Enable.
Next is the part of the batch file.
set COVBUILDZONE=Test_COV
set COVFILE=C:\Users\me\\Build_Env\Cov_File\test.cov
cov01.exe -1
cmd /c msbuild Main.sln -t:TestProject:Rebuild -p:configuration=Target,platform=Win32
cov01.exe -0
When executing this batch from Windows commad prompt, the build is done successfully. Then the build log has next;
…
ClCompile:
C:/Program Files/BullseyeCoverage/bin\x86\CL.exe /c /IC:\Users.…
Calling CL.exe of Bullseye Coverage is OK.
However, when executing this batch from Jenkins, the build is failed.
The log has;
…
ClCompile:
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\bin\HostX86\x86\CL.exe /c /IC:\Users..
I entered cov01.exe -s to show the status of Bullseye Coverage after each cov01.exe. I could see “Coverage build enabled” after cov01.exe -1 for both command prompt and Jenkins cases.
I asked for Bullseye support, but the answer did not have the point.
Have anyone encountered this situation?
Regard.