We use GitHub and want to be able to trigger builds on Jenkins when a 
commit is made to a particular branch.

Our Jenkins currently only has the git plugin which I believe allows for 
the pulling from our GitHub repo via ssh public key authorization.

I think the GitHub built-in web hook which has our secret token URL as its 
value and executes for every commit regardless of branch, sends post data 
with the branch that was committed to via the trigger URL?secret_token.

Is there some way to filter this post data before executing the build, and 
only trigger when the data is for the desired branch, e.g. dev?

I am wondering if using polling might be better? Is it possible to poll and 
only build for changes to a particular branch?

Would parameterized builds be useful.

Thanks for any help.

Bill

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to