More info on after_deploy
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!
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 Ilya Finkelshte... on 13 Sep, 2017 09:10 PM
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 deploymentsafter_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.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:19 AM.