fix(jenkins): 修复jenkins执行接口用例报null的问题
This commit is contained in:
parent
e7e0df2840
commit
73fe715c95
|
@ -800,9 +800,7 @@ public class ApiTestCaseService {
|
|||
//通过测试计划id查询环境
|
||||
request.setReportId(request.getTestPlanId());
|
||||
}
|
||||
if (StringUtils.equals(request.getRunMode(), ApiRunMode.JENKINS.name())) {
|
||||
request.setReportId(request.getEnvironmentId());
|
||||
}
|
||||
|
||||
// 多态JSON普通转换会丢失内容,需要通过 ObjectMapper 获取
|
||||
if (testCaseWithBLOBs != null && StringUtils.isNotEmpty(testCaseWithBLOBs.getRequest())) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue