Added build succeeded and failed events.