Commit 28fd73f2 authored by 黎博's avatar 黎博

修改前端页面地址从apollo获取

parent a5fa1784
......@@ -67,6 +67,9 @@ public class PipelineController {
@Value("${test.desc.ding.url}")
private String testDescDingUrl;
@Value("${qa-platform-ui.host}")
private String qaPlatformUiHost;
/**
* gitlab webhook
* @param request
......@@ -202,7 +205,7 @@ public class PipelineController {
jenkinsService.buildTkeJob(pipeline.getServiceType(), pipeline.getServiceName(), pipeline.getServiceBranch(), pipeline.getNamespace());
}
String submitTestUrl = "http://flash-fe.liangkebang.net/qa/detailTestDescription?projectName=" + projectName + "&jiraProjectKey=" + jiraProjectKey;
String submitTestUrl = qaPlatformUiHost + "/qa/detailTestDescription?projectName=" + projectName + "&jiraProjectKey=" + jiraProjectKey;
String msg = DingdingUtils.buildTestSubmitInstructionMsg(projectName, submitTestUrl);
boolean sendToDingResult = DingdingUtils.sendToDingding(msg, testDescDingUrl);
log.info("创建测试流程时,发送给数据组的通知结果:" + sendToDingResult);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment