...
|
...
|
@@ -269,7 +269,7 @@ public class DockerProjectCtrl { |
|
|
String alarmMsg="镜像制作失败";
|
|
|
String alarmTypeSuccess="service_exception";//"docker_auto_success";
|
|
|
String alarmTypeFail="service_exception";//"docker_auto_error";
|
|
|
for(int i=0;i<40;i++){
|
|
|
for(int i=0;i<60;i++){
|
|
|
DockerJenkinsRecord record=dockerProjectService.queryJenkinsById(buildId);
|
|
|
if(record==null){
|
|
|
//发送短信
|
...
|
...
|
@@ -280,7 +280,7 @@ public class DockerProjectCtrl { |
|
|
if (StringUtils.isBlank(status)){
|
|
|
//继续查询
|
|
|
try {
|
|
|
Thread.sleep(1*30*1000);//等待30秒再查询
|
|
|
Thread.sleep(1*20*1000);//等待20秒再查询
|
|
|
} catch (InterruptedException e) {
|
|
|
log.error("gitWebHook thread sleep error",e);
|
|
|
}
|
...
|
...
|
|