git和hudson/jenkins-仅做增量构建? [英] git and hudson/jenkins - how to do incremental builds only?

查看:227
本文介绍了git和hudson/jenkins-仅做增量构建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何配置hudson/jenkins仅检出自上次夜间构建以来已更改的文件/子模块等? 在我们的构建系统(ant/ivy)中,如果签出,它将被构建.因此,我只需要签出已更改的内容即可进行增量构建.

How would I configure hudson/jenkins to checkout only the files/submodules,etc.. that have changed since the last nightly build? In our build system(ant/ivy), if it is checked out it gets built. So, I need to only checkout what has changed in order to do an incremental build.

推荐答案

这是git插件的默认行为,除非您将项目设置为执行干净构建.您为不起作用设置了什么?

Thats the default behaviour with the git plugin unless you set the project to do a clean build. What have you set up for it NOT to work?

这篇关于git和hudson/jenkins-仅做增量构建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆