My build in Visual Studio Online tries to deploy my Azure web site via Kudu. The script works fine, and deployment goes through, but VSO treats git output as errors for some reason, and declares the whole build failed. Take a look at the screenshot below.
Some details:
- This is a "new scripted" build, not a XAML-defined one.
- Build definition has just one step, which executes a PowerShell script, which runs F# FAKE (not sure if this is relevant).
- When I run the same script on my local machine, I don't see any "strange" output, including the
[K
at the end of each line. - After running on my local,
$LastExitCode
is zero. - I very much would like to keep the build to one step, so I can continue leveraging the power of FAKE.
$LastExitCode
from the script to see if it's 0 when running under VSO build? - David Ebbo$LastExitCode
is zero. It seems that VSO makes the judgement purely based on the text output. - Fyodor Soikin