Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does anyone know the exit codes for tfsbuild.exe?

Tags:

tfs

tfsbuild

Does anyone know the exit codes for tfsbuild.exe?

I have looked on MSDN, but I cannot find any information.

like image 220
rajatpandit Avatar asked Jan 22 '13 17:01

rajatpandit


1 Answers

There is no documentation in MSDN

So I had to decompile TFSBuild.exe (thankfully it is .NET)

So exit codes I found there are

  • Unknown = -1,
  • Success = 0,
  • PartialSuccess = 1,
  • UnrecognizedCommand = 2,
  • NotAttempted = 3,
  • SuccessRebootRequired = 4,
  • Failure = 100

This is valid for version 11.0.0.0 of TFSBuild.exe but i do not think they change them often

like image 54
Yuri Bondarchuk Avatar answered Nov 15 '22 07:11

Yuri Bondarchuk