Authored by xuhui

自动化测试,api默认必须跑

... ... @@ -127,7 +127,9 @@ public class WorkSystemCtrl {
User user = (User) session.getAttribute("user");
releaseWorkJob.setDevelop(user.getName());
releaseWorkJob.setProject(releaseWorkJob.getProject().substring(1));
if(StringUtils.isNotBlank(releaseWorkJob.getTestProject()) && releaseWorkJob.getTestProject().length() > 1){
releaseWorkJob.setTestProject(releaseWorkJob.getTestProject().substring(1));
}
BaseResponse<Integer> baseResponse = httpRestClient.defaultPost(HttpUriContants.CREATE_RELEASEWORKJOB, releaseWorkJob, BaseResponse.class);
return baseResponse.getData();
}
... ...