How to build ASP.net 5 applications
Can you advise how to build ASP.net 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?
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
Support Staff 1 Posted by Feodor Fitsner on 24 Feb, 2015 04:39 PM
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 frombuild.cmd
. You should improve yourbuild.cmd
to check exit code after each call tokpm build
(and possible other parts) and if it's not0
go to someexit
label and return that code outside.Hope that helps.
2 Posted by Kevin Kuszyk on 25 Feb, 2015 09:35 PM
Thanks - that seems to have fixed it.
Kevin Kuszyk closed this discussion on 25 Feb, 2015 09:35 PM.