Exit deploy script on error immediately
Exit deploy script on error immediately

This ensures that errors in the deploy script do not go unnoticed because the build step will fail immediately.

Resolves #2266

micrometer-metrics/micrometer,micrometer-metrics/micrometer,micrometer-metrics/micrometer