Authored by qinchao

gitwebhook

@@ -92,7 +92,7 @@ public class OuterIntfCtrl { @@ -92,7 +92,7 @@ public class OuterIntfCtrl {
92 public BaseResponse gitWebHook(@RequestBody com.alibaba.fastjson.JSONObject jsonObject) throws Exception { 92 public BaseResponse gitWebHook(@RequestBody com.alibaba.fastjson.JSONObject jsonObject) throws Exception {
93 log.info("gitWebHookAppCollectLog get the webhook from git begin --{}", jsonObject.toJSONString()); 93 log.info("gitWebHookAppCollectLog get the webhook from git begin --{}", jsonObject.toJSONString());
94 WebHooksReleaseBO bo=releaseWebHooksNoCommits(jsonObject); 94 WebHooksReleaseBO bo=releaseWebHooksNoCommits(jsonObject);
95 - return new BaseResponse(200, "succeed", "本次的jenkinsJOB_ID = "); 95 + return httpClient.defaultPost("/dockerProject/gitWebHook",bo,BaseResponse.class);
96 } 96 }
97 97
98 private WebHooksReleaseBO releaseWebHooksNoCommits(JSONObject jsonObject) { 98 private WebHooksReleaseBO releaseWebHooksNoCommits(JSONObject jsonObject) {