Showing
1 changed file
with
22 additions
and
0 deletions
@@ -213,6 +213,8 @@ | @@ -213,6 +213,8 @@ | ||
213 | document.getElementById("task-info-div_" + val).innerHTML = "<strong>'" + message + "'</strong>"; | 213 | document.getElementById("task-info-div_" + val).innerHTML = "<strong>'" + message + "'</strong>"; |
214 | removeArray.push(val); | 214 | removeArray.push(val); |
215 | $("#cancel-btn_"+val).hide(); | 215 | $("#cancel-btn_"+val).hide(); |
216 | + | ||
217 | + projectDetectUrl(currproject); | ||
216 | } | 218 | } |
217 | 219 | ||
218 | }, | 220 | }, |
@@ -226,6 +228,26 @@ | @@ -226,6 +228,26 @@ | ||
226 | specialLbProject(); | 228 | specialLbProject(); |
227 | }); | 229 | }); |
228 | 230 | ||
231 | + //检测发布是否成功 | ||
232 | + function projectDetectUrl(currproject){ | ||
233 | + if("yoho-search-service"==currproject){ | ||
234 | + $.ajax({ | ||
235 | + url: contextPath + 'project/projectDetectUrl', | ||
236 | + type: 'POST', | ||
237 | + data:{ | ||
238 | + project:currproject, | ||
239 | + operate_name:$("#operate_name").val(), | ||
240 | + environment_name:$("#environment_name").val() | ||
241 | + }, | ||
242 | + dataType: 'json', | ||
243 | + success: function (reps) { | ||
244 | + }, | ||
245 | + error: function (e) { | ||
246 | + alert("检查"+currproject+"启动状态异常"); | ||
247 | + } | ||
248 | + }); | ||
249 | + } | ||
250 | + } | ||
229 | 251 | ||
230 | function specialLbProject(){ | 252 | function specialLbProject(){ |
231 | for(var i=0; i<specialProjectLbList.length; i++){ | 253 | for(var i=0; i<specialProjectLbList.length; i++){ |
-
Please register or login to post a comment