On 16.01.2014, at 15:16, kgiloo <[email protected]> wrote:

> AFAIK if you configure the post-commit hook together with jenkins, 
> you must activate "poll SCM" anyway, else it won't start the build.

Put the code to determine which change in the repository needs to trigger which 
job into the post-commit hook, and enable 'Trigger builds remotely' for those 
jobs.

If you have enabled Jenkins security, either pass username and password (or API 
token), or use 
https://wiki.jenkins-ci.org/display/JENKINS/Build+Token+Root+Plugin

Then you can disable SCM polling and remove any SCM configuration from the 
Jenkins jobs.

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to