fix: 修复jenkins执行接口之后没通知的问题
--bug=1009217 --user=刘瑞斌 【jenkins】执行完jenkins后没有发通知 https://www.tapd.cn/55049933/s/1087534
This commit is contained in:
parent
ece30da5f9
commit
cec4f8c809
|
@ -9,4 +9,5 @@ public class ApiTestReportVariable extends ApiTestReport {
|
|||
public String executor;
|
||||
public String environment;
|
||||
public String principal;
|
||||
private String projectId;
|
||||
}
|
||||
|
|
|
@ -107,6 +107,7 @@ public class TestResultService {
|
|||
reportTask.setPrincipal(principal);
|
||||
reportTask.setExecutionTime(DateUtils.getTimeString(scenarioReport.getUpdateTime()));
|
||||
reportTask.setEnvironment(environment);
|
||||
reportTask.setProjectId(scenarioReport.getProjectId());
|
||||
|
||||
updateScenarioTestCaseStates(dto.getTestId(), dto.getRunMode());
|
||||
if (reportTask != null) {
|
||||
|
|
Loading…
Reference in New Issue