Stop building when there is no change from the last build in HUDSON

Hi. I'm new to hudson and I have a pretty dumb question. When Hudson discovers that there have been no changes since the last build, does he stop the build? why?

I completed the test task using the shell step command and always runs the command whether there were changes in the repository or not.

How can I stop the build if there are no changes to the repository? Thanks

+3
source share
1 answer

There are different types of assembly triggers.

I suppose you set the test task to " Build Periodically ", which will just continue to build at a given interval regardless of code changes.

" SCM", SCM , .

+5

Source: https://habr.com/ru/post/1756895/


All Articles