I'm using 'eb deploy' in my continuous integration script. I'm having 2 problems with it:
It always returns returncode 0, even if there is an error. This breaks my deploy pipeline, because there is no way to detect an error.
It displays output only after command is finished.
Is there any way to make 'eb deploy' to work as any normal script and return proper error codes?