how to allow deployment even if tests/build fails?
I think I saw the solution online yesterday, but I can't for the life of me find it now.
I think there is a variable to set that allows the deployment to still execute even if the build fails. By default, deployment doesn't happen unless the build is successful.
Thanks!
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
1 Posted by Mark Garrison on 19 Dec, 2018 08:25 PM
Oh wait I was looking at "APPVEYOR_SAVE_CACHE_ON_ERROR". Maybe there isn't an equivalent for deploying on test failure.
I guess this technically answers it:
https://help.appveyor.com/discussions/suggestions/546-attempt-to-add-artifacts-whether-build-is-successful-or-not
Although it seems to me that on_failure would be better than on_finish, allowing the regular deploy flow to still be used when the build passes.
2 Posted by Ilya Finkelshte... on 19 Dec, 2018 09:04 PM
Right, we do not have "deploy anyway" tweak variable. Discussion you mention is has a valid approach, provided that you still have something (some artifact) to deploy even if build failed.
Ilya Finkelshteyn closed this discussion on 19 Feb, 2019 09:00 PM.