sourceanalyzer returns non-zero exit status during translation (Visual Studio build)
Using SCA 4.30 on Windows Server 2008 R2 SP1, i noticed when running sourceanalyzer for translation phase the exit code is 1 (error) even the translation appears step to be ok:
c:\jenkins-r45\workspace\DEVOPS-R4.5-BUILD-iBank-TFS-DOTNET>sourceanalyzer -b iBank_Investor "C:\Program Files (x86)\Microsoft Visual Studio 11.0\\Common7IDE\devenv.exe" /REBUILD debug iBank_Investor.sln
It can cause issue on CI build if the result of the error code is checked (build failure)
On Jenkins you don't have this problem if you stage this immediately with the scan step inside the same build step block:
Any clue why it returns non zero status during the translation?