Compile errors does not fail the job

zosrothko's Avatar

zosrothko

27 Dec, 2017 07:03 AM

Hi

It seems that failing to build a binary does not fail the job as show in https://ci.appveyor.com/project/obiltschnig/poco/build/build%20data...

What is missing for making the job failed if there are compile error?

TIA

  1. 1 Posted by Ilya Finkelshte... on 27 Dec, 2017 08:46 PM

    Ilya Finkelshteyn's Avatar

    PowerShell script is happy as long as last command is happy. To avoid those failed positives in the future, use either cmd, or check exit code after every command (or only commands which most probably can fail) in PowerShell (something like if ($lastexitcode -ne 0){ exit $lastexitcode }).

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:25 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac