SetupAngularJS or Angular2 Projects for Continuous Integration and Continuous Deployment

徘徊边缘 提交于 2020-01-15 05:05:30

问题


Currently I have my git set up for AngularJS Projects. I do testing locally and if the tests pass I commit the code to Git repo. What I want to do is set up the UI project with CI and CD such that even after testing locally when I commit the code to Git repo it should trigger tests and then build (for Angular2 or minify for example for AngularJS) the project ready to be used. If the tests fail it should reject the push/changes. It should then push the passed code to the appropriate deployment folder automatically.

Can Grunt/Gulp do this or I need some other CI/CD apps/tools for this. If so can someone explain how to set this up?

来源:https://stackoverflow.com/questions/37549335/setupangularjs-or-angular2-projects-for-continuous-integration-and-continuous-de

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!