From 6bca2c8617a51c5324f288f74b465415ba684f2b Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 8 Sep 2021 16:38:10 +0800 Subject: [PATCH] =?UTF-8?q?revert:=20jenkins=20=E6=89=A7=E8=A1=8C=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=20runmode=20=E5=9B=9E=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/metersphere/api/controller/ApiAutomationController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/api/controller/ApiAutomationController.java b/backend/src/main/java/io/metersphere/api/controller/ApiAutomationController.java index 4116a3d7f5..8159e8b58b 100644 --- a/backend/src/main/java/io/metersphere/api/controller/ApiAutomationController.java +++ b/backend/src/main/java/io/metersphere/api/controller/ApiAutomationController.java @@ -206,7 +206,7 @@ public class ApiAutomationController { public String runByJenkins(@RequestBody RunScenarioRequest request) { request.setExecuteType(ExecuteType.Saved.name()); request.setTriggerMode(TriggerMode.API.name()); - request.setRunMode(ApiRunMode.JENKINS.name()); + request.setRunMode(ApiRunMode.SCENARIO.name()); // 回退 return apiAutomationService.run(request); }