revert: jenkins 执行场景 runmode 回退
This commit is contained in:
parent
11cfa97f17
commit
6bca2c8617
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue