...
|
...
|
@@ -116,8 +116,8 @@ public class DockerMonitorTask { |
|
|
boolean alarmFlag=true;
|
|
|
|
|
|
logger.info("DockerMonitorTask status is {} ", status);
|
|
|
//从docker发布记录中检索,10分钟内的数据
|
|
|
List<DockerJenkinsRecord> records=dockerJenkinsRecordMapper.selectThreeMinutes();
|
|
|
//从docker发布记录中检索,15分钟内的数据
|
|
|
List<DockerJenkinsRecord> records=dockerJenkinsRecordMapper.selectBeforeSomeMinutes();
|
|
|
if(records!=null&&records.size()>0){
|
|
|
logger.info("DockerMonitorTask record is {} ", JSON.toJSONString(records));
|
|
|
for(DockerJenkinsRecord record:records){
|
...
|
...
|
|