Added error messages and fail build when post build processes fail

The build will fail but this should still be merged.