当前位置: 动力学知识库 > 问答 > 编程问答 >

Conditional Builds (when something has changed) in jenkins

问题描述:

Is it possible to do conditional build in Jenkins? for example every 5 mins it checks source control for new commits and will only build if there has been changes? we are using git at the moment.

网友答案:

You can set up Jenkins to poll your VCS and build if there are changes but better would be to use a post-commit trigger. 'Polling must die: triggering Jenkins builds from a git hook' will give you the info on setting that up.

网友答案:

I use Build triggers -> Poll SCM and doesn't really see the problem in using that system.

分享给朋友:
您可能感兴趣的文章:
随机阅读: