Showing
1 changed file
with
17 additions
and
1 deletions
@@ -110,8 +110,24 @@ public class OuterIntfCtrl { | @@ -110,8 +110,24 @@ public class OuterIntfCtrl { | ||
110 | return JSON.toJSONString(map); | 110 | return JSON.toJSONString(map); |
111 | } | 111 | } |
112 | 112 | ||
113 | + /********************************************************************** | ||
114 | + * dock项目 | ||
115 | + *********************************************************************/ | ||
113 | /** | 116 | /** |
114 | - * dock自动发布类型的项目 | 117 | + * 发布工单_jenkins:更新镜像的状态 |
118 | + */ | ||
119 | + @RequestMapping("/updateJenkinsStatus") | ||
120 | + @ResponseBody | ||
121 | + public BaseResponse updateJenkinsStatus(String ticketID,String jobID,String status) { | ||
122 | + Map<String,String> map=new HashMap<>(); | ||
123 | + map.put("ticketID",ticketID); | ||
124 | + map.put("jobID",jobID); | ||
125 | + map.put("status",status); | ||
126 | + return httpClient.defaultGet("/dockerProject/updateJenkinsStatus",BaseResponse.class,map); | ||
127 | + } | ||
128 | + | ||
129 | + /** | ||
130 | + * docker自动发布的回调 | ||
115 | */ | 131 | */ |
116 | @RequestMapping("/gitWebHook") | 132 | @RequestMapping("/gitWebHook") |
117 | @ResponseBody | 133 | @ResponseBody |
-
Please register or login to post a comment