use of com.thoughtworks.go.websocket.Report in project gocd by gocd.
the class DefaultBuildStateReporter method reportCompleting.
@Override
public void reportCompleting(String buildId, JobResult buildResult) {
Report report = new Report(agentRuntimeInfo, buildId, null, buildResult);
webSocketSessionHandler.sendAndWaitForAcknowledgement(new Message(Action.reportCompleting, MessageEncoding.encodeData(report)));
}
use of com.thoughtworks.go.websocket.Report in project gocd by gocd.
the class DefaultBuildStateReporter method reportCompleted.
@Override
public void reportCompleted(String buildId, JobResult buildResult) {
Report report = new Report(agentRuntimeInfo, buildId, null, buildResult);
webSocketSessionHandler.sendAndWaitForAcknowledgement(new Message(Action.reportCompleted, MessageEncoding.encodeData(report)));
}