
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
sourceanalyzer returns non-zero exit status during translation (Visual Studio build)
Hi all
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
c:\jenkins-r45\workspace\DEVOPS-R4.5-BUILD-iBank-TFS-DOTNET>echo %ERRORLEVEL%
1
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?
Regards
Laurent


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Replace `devenv.exe` with `devenv.com` to see the output in your console or build logs (see MSDN for details). This might give you more information about what the error is.