开发者

Stop build when no changes from last build in HUDSON

HI. I'm new in hudson, and I have a quite silly question. When Hudson detect that there are no changes since the last build, does not stop the build? why?

I made a test job with a shell step command and always execut开发者_JAVA百科es the command, have been changes in the repository or not.

How I can stop the build if no changes in the repository? Thanks


There are different types of Build Triggers.

I imagine you have configured your test job to "Build Periodically" which will just keep on building at the specified interval regardless of code changes.

If you choose "Poll SCM" then Hudson will poll your SCM for changes and only build if changes are detected.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜