how to allow deployment even if tests/build fails?

Mark Garrison's Avatar

Mark Garrison

19 Dec, 2018 08:10 PM

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.


  1. 1 Posted by Mark Garrison on 19 Dec, 2018 08:25 PM

    Mark Garrison's Avatar

    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:

    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. Support Staff 2 Posted by Ilya Finkelshte... on 19 Dec, 2018 09:04 PM

    Ilya Finkelshteyn's Avatar

    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.

  3. Ilya Finkelshteyn closed this discussion on 19 Feb, 2019 09:00 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