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.

Thanks!

  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:
    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. 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

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

 

26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM
20 Sep, 2024 05:50 PM