use of com.thoughtworks.go.server.service.result.ServerHealthServiceUpdatingOperationResult in project gocd by gocd.
the class PipelineScheduler method autoProduceBuildCauseAndSave.
private void autoProduceBuildCauseAndSave() {
try {
OperationResult result = new ServerHealthServiceUpdatingOperationResult(serverHealthService);
if (!schedulingChecker.canSchedule(result)) {
return;
}
removeLicenseInvalidFromLog();
checkPipelines();
} catch (Exception e) {
LOGGER.error("Error autoScheduling pipelines", e);
}
}
Aggregations