I am using Jenkins hook to run CI build for git project in stash and this is working fine. My requirement is to setup Daily builds at night only if commits happened in the repo. My Jenkins daily night job is set poll option at night time daily, but Jenkins hook is triggering a DY build for every commit.
Is there any option in the Jenkins hook to trigger poll option only for CI builds ?
How are others running Daily nightly builds with Jenkins hook.