fix(消息通知): 消息通知中的部分变量不能获取

This commit is contained in:
Captain.B 2021-09-28 17:57:37 +08:00 committed by 刘瑞斌
parent 05f75c74ca
commit c591c1df57
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public class TestResultService {
}
if (reportTask != null) {
if (!StringUtils.equals(ApiRunMode.SCHEDULE_SCENARIO_PLAN.name(), runMode) && !StringUtils.equals(ApiRunMode.JENKINS_SCENARIO_PLAN.name(), runMode) && StringUtils.equals(ReportTriggerMode.API.name(), reportTask.getTriggerMode()) || StringUtils.equals(ReportTriggerMode.SCHEDULE.name(), reportTask.getTriggerMode())) {
sendTask(reportTask, reportUrl, testResult);
// sendTask(reportTask, reportUrl, testResult);
}
}
} catch (Exception e) {