use of com.facebook.buck.distributed.thrift.FinishedBuildingRequest in project buck by facebook.
the class ThriftCoordinatorClient method finishedBuilding.
public FinishedBuildingResponse finishedBuilding(String minionId, int minionExitCode) throws IOException {
LOG.debug(String.format("Minion [%s] is reporting that it finished building.", minionId));
Preconditions.checkNotNull(client, "Client was not started.");
FinishedBuildingRequest request = new FinishedBuildingRequest().setStampedeId(stampedeId).setMinionId(minionId).setBuildExitCode(minionExitCode);
try {
FinishedBuildingResponse response = client.finishedBuilding(request);
return response;
} catch (TException e) {
throw new ThriftException(e);
}
}
Aggregations