fixed error. wrong message sent for success and fail builds