More info on after_deploy

davidames76's Avatar

davidames76

13 Sep, 2017 08:32 PM

Hi there,

I'm after some more info on after_deploy please as I'm trying to troubleshoot some randomly failing smoke tests.

1. If we have more than 1 deployment, does it run once for each deployment, or does it run after all deployments have finished?
2. Is it guaranteed to execute after the Environment deployment has completed, or is the Environment deploy async?

Cheers!

  1. 1 Posted by Ilya Finkelshte... on 13 Sep, 2017 09:10 PM

    Ilya Finkelshteyn's Avatar

    Hello,

    Environment deployments are indeed async. Please check this part of documentation. So in case of environment deployments after_deploy script runs after deployments started, but in case of inline deployments after_deploy script runs after deployments finished.

    If you have some special reason to use environment deployments during the build (for example you need Agent deployment) can use our API to start deployment and check if deployments finished. Please look at this sample.

    If this is not exactly your case, please describe your scenario more.

    Ilya.

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:19 AM.

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

 

20 Aug, 2024 09:07 PM
15 Aug, 2024 09:17 AM
10 Aug, 2024 02:42 PM
09 Aug, 2024 10:48 PM
06 Aug, 2024 08:03 PM
01 Aug, 2024 04:26 PM