feat: jenkins测试计划收不到邮件

This commit is contained in:
wenyann 2021-01-28 17:45:17 +08:00
parent 9009746494
commit 1e2b353cb9
1 changed files with 1 additions and 0 deletions

View File

@ -180,6 +180,7 @@ public class APIBackendListenerClient extends AbstractBackendListenerClient impl
apiTestService.changeStatus(testId, APITestStatus.Completed);
report = apiReportService.getRunningReport(testResult.getTestId());
apiReportService.complete(testResult, report);
apiDefinitionExecResultService.saveApiResult(testResult, ApiRunMode.API_PLAN.name());
} else if (StringUtils.equalsAny(this.runMode, ApiRunMode.API_PLAN.name(), ApiRunMode.SCHEDULE_API_PLAN.name())) {
apiDefinitionService.addResult(testResult);