On Fri, Feb 20, 2015 at 12:30 PM, <[email protected]> wrote:

> Hi,
>
>      Internally we use Git as the SCM with git plugin which triggers poll
> on push request. For internal use I am looking for a way to Ignore the SCM
> polling schedule option from the job configuration page, so that jobs are
> only triggered on push notifications and not based on cron values in this
> field.
>

Have you read this blog post?

http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/

I used the steps in that blog post to create a git post-receive hook which
used curl to do
an HTTP POST on the Jenkins server to trigger a build.  Using this
technique,
builds are triggered in response to push notifications.  It works great.

--
Craig

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3DrPVfAUYtfrnv4dBi_497PgGkbPn3VnAtuq6eNeN06LjmZ5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to