Fixed with -xe flag rather than without for bash calls in build steps