I tried polling with a schedule like H/10 * * * *  which means "every 10 
minutes".  But polling doesn't seem to work.  

How can I setup a post-commit hook to notify Jenkins of checkins. ?



On Tuesday, February 16, 2016 at 12:26:58 PM UTC-6, Daniel Beck wrote:

> If you're polling, you need to define a schedule -- Jenkins needs to know 
> how often to poll, after all. This can be as simple as '* * * * *', which 
> means "every minute". 
>
> Consider looking into (SCM specific) post-commit hooks, those notify 
> Jenkins of changes immediately, and don't require Jenkins to poll all the 
> time (which as you can imagine, doesn't scale well). 
>
> On 16.02.2016, at 19:06, Hector Magnanao <[email protected] <javascript:>> 
> wrote: 
>
> > I'm using Jenkins 1.625.2 
> > 
> > How do I setup polling in Jenkins so that my build will execute whenever 
> a file is checked in ? I tried to setup polling but when I choose Poll SCM, 
> it asked for a schedule.  Do I have to put in a schedule or is there a way 
> to setup polling without schedule ? I want my build to execute whenever a 
> file is checked in. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Jenkins Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected] <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/533d2bd1-f12b-44d9-9f66-bd137910f9dc%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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-users/ecdcdccb-511a-4b9a-9e2b-481b53e14dd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to