|
|
@ -82,12 +82,12 @@ public class QualityInspectRunnable implements Runnable {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 调用sonar服务
|
|
|
|
// 调用sonar服务
|
|
|
|
LOGGER.info("projectName:{}, detailId:{} 开始调用sonar分析,语言:{}", projectName,taskInfoDetail.getId(),language);
|
|
|
|
LOGGER.info("projectName:{}, detailId:{} 开始调用sonar分析,语言:{}", projectName, taskInfoDetail.getId(), language);
|
|
|
|
sonarService.sonar(language, param);
|
|
|
|
sonarService.sonar(language, param);
|
|
|
|
|
|
|
|
|
|
|
|
// 提交一个查结果的任务
|
|
|
|
// 提交一个查结果的任务
|
|
|
|
SonarQueryResultRunnable queryResultRunnable = new SonarQueryResultRunnable(projectName, taskInfoDetail.getId(), dbOperateService);
|
|
|
|
SonarQueryResultRunnable queryResultRunnable = new SonarQueryResultRunnable(projectName, taskInfoDetail.getId(), dbOperateService);
|
|
|
|
LOGGER.info("projectName:{}, detailId:{} 提交了查询结果的任务", projectName,taskInfoDetail.getId());
|
|
|
|
LOGGER.info("projectName:{}, detailId:{} 提交了查询结果的任务", projectName, taskInfoDetail.getId());
|
|
|
|
queryResultPool.execute(queryResultRunnable);
|
|
|
|
queryResultPool.execute(queryResultRunnable);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|