revert: jenkins 执行场景 runmode 回退

This commit is contained in:
Captain.B 2021-09-08 16:38:10 +08:00 committed by 刘瑞斌
parent 11cfa97f17
commit 6bca2c8617
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ public class ApiAutomationController {
public String runByJenkins(@RequestBody RunScenarioRequest request) { public String runByJenkins(@RequestBody RunScenarioRequest request) {
request.setExecuteType(ExecuteType.Saved.name()); request.setExecuteType(ExecuteType.Saved.name());
request.setTriggerMode(TriggerMode.API.name()); request.setTriggerMode(TriggerMode.API.name());
request.setRunMode(ApiRunMode.JENKINS.name()); request.setRunMode(ApiRunMode.SCENARIO.name()); // 回退
return apiAutomationService.run(request); return apiAutomationService.run(request);
} }