private void SendNotification(IList <TeamCityModel> buildStatuses) { bool notify; var message = new TeamCityMessageBuilder(ExpectedBuildCount).BuildMessage(buildStatuses, out notify); //todo add color of the line https://www.hipchat.com/docs/api/method/rooms/message //todo Background color for message. One of "yellow", "red", "green", "purple", "gray", or "random". (default: yellow) Robot.SendNotification( Robot.Settings.Get("TeamCityNotifyRoomName"), Robot.Settings.Get("TeamCityHipchatAuthToken"), message, notify); }
private void SendNotification(IList<TeamCityModel> buildStatuses) { bool notify; var message = new TeamCityMessageBuilder(ExpectedBuildCount).BuildMessage(buildStatuses, out notify); //todo add color of the line https://www.hipchat.com/docs/api/method/rooms/message //todo Background color for message. One of "yellow", "red", "green", "purple", "gray", or "random". (default: yellow) Robot.SendNotification( Robot.Settings.Get("TeamCityNotifyRoomName"), Robot.Settings.Get("TeamCityHipchatAuthToken"), message, notify); }