...
|
...
|
@@ -106,13 +106,16 @@ public class DockerProjectCtrl { |
|
|
log.info("gitWebHook run ");
|
|
|
//Docker-Deploy-GitHook
|
|
|
DockerJenkinsReq dockerJenkinsReq=new DockerJenkinsReq();
|
|
|
dockerJenkinsReq.setDeployName(model.getProjectName());
|
|
|
dockerJenkinsReq.setProjectName(model.getProjectName());
|
|
|
dockerJenkinsReq.setProjectJobType(model.getProjectJobType());
|
|
|
dockerJenkinsReq.setProjectGitGroup(model.getProjectGitGroup());
|
|
|
dockerJenkinsReq.setDeployName(model.getDockerProjectName());
|
|
|
dockerJenkinsReq.setBranch("master");
|
|
|
dockerJenkinsReq.setUserMail(webHooksReleaseBO.getUser_email());
|
|
|
dockerJenkinsReq.setImageSource(model.getDockerOnlineImageStore());
|
|
|
dockerJenkinsReq.setNodeEnv("yoho-online");
|
|
|
dockerJenkinsReq.setProjectPort(model.getPort());
|
|
|
dockerJenkinsReq.setClusterId(model.getDockerOnlineClusterId());
|
|
|
|
|
|
log.info("gitWebHook run {} ",dockerJenkinsReq);
|
|
|
dockerProjectService.jenkinsBuild(dockerJenkinsReq);
|
...
|
...
|
|