fix(测试跟踪): 修复测试计划初次设置定时任务时没有保存串行并行配置信息的缺陷
修复测试计划初次设置定时任务时没有保存串行并行配置信息的缺陷
This commit is contained in:
parent
cfc2ed90a4
commit
bfd288ee77
|
@ -263,6 +263,7 @@ public class ScheduleService {
|
||||||
schedule.setProjectId(testPlan.getProjectId());
|
schedule.setProjectId(testPlan.getProjectId());
|
||||||
schedule.setGroup(ScheduleGroup.TEST_PLAN_TEST.name());
|
schedule.setGroup(ScheduleGroup.TEST_PLAN_TEST.name());
|
||||||
schedule.setType(ScheduleType.CRON.name());
|
schedule.setType(ScheduleType.CRON.name());
|
||||||
|
schedule.setConfig(request.getConfig());
|
||||||
jobKey = TestPlanTestJob.getJobKey(request.getResourceId());
|
jobKey = TestPlanTestJob.getJobKey(request.getResourceId());
|
||||||
triggerKey = TestPlanTestJob.getTriggerKey(request.getResourceId());
|
triggerKey = TestPlanTestJob.getTriggerKey(request.getResourceId());
|
||||||
clazz = TestPlanTestJob.class;
|
clazz = TestPlanTestJob.class;
|
||||||
|
|
Loading…
Reference in New Issue