How to build 5 applications

Kevin Kuszyk's Avatar

Kevin Kuszyk

24 Feb, 2015 10:34 AM

Can you advise how to build 5 applications in AppVeyor? (or if this is even supported yet!)

We are building our projects using k build, but sometimes the build is reported as a success when there were complication errors:

Is this the recommended approach, and can you advise how to prevent false positives?

  1. Support Staff 1 Posted by Feodor Fitsner on 24 Feb, 2015 04:39 PM

    Feodor Fitsner's Avatar

    I think it's not k-specific problem. AppVeyor relies on either process non-zero exit code or PowerShell exceptions to decide whether build should be terminated.

    Your build is being run as a single build.cmd thus AppVeyor "sees" only the exit code returned from build.cmd. You should improve your build.cmd to check exit code after each call to kpm build (and possible other parts) and if it's not 0 go to some exit label and return that code outside.

    Hope that helps.

  2. 2 Posted by Kevin Kuszyk on 25 Feb, 2015 09:35 PM

    Kevin Kuszyk's Avatar

    Thanks - that seems to have fixed it.

  3. Kevin Kuszyk closed this discussion on 25 Feb, 2015 09:35 PM.

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

Keyboard shortcuts


? 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