Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目分模块构建 #1

Open
XDongo opened this issue May 28, 2018 · 2 comments
Open

项目分模块构建 #1

XDongo opened this issue May 28, 2018 · 2 comments

Comments

@XDongo
Copy link

XDongo commented May 28, 2018

写完了webhook,微服务中那么多子项目如何分开构建呢,而不是push后一起构建

@liuyi01
Copy link
Owner

liuyi01 commented May 28, 2018

两个方面,
首先是一般情况我们开发模块在git上就是分开的,不会像课程里面讲的,所有模块都放在一个项目里面。
另一个是现实中确实会有一些模块是在同一个项目中的,这种情况我们一般会自己写一个钩子入口(把git触发的地址写为我们自己的接口地址),我们可以取到各种git相关的信息,从而判断出该触发哪个jenkins构建,然后我们自己去调jenkins接口去实现自动发布。

@XDongo
Copy link
Author

XDongo commented May 28, 2018

了解了,感谢!稍后我会跟研发沟通,选择一个合适的方式去CI/CD。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants