Hello,

I have asked this question on SO but am not sure if it will be answered 
soon: 
http://stackoverflow.com/questions/38149468/jenkins-github-plugin-how-to-make-job-to-be-triggered-only-on-pushes-to-master.
 
Here is quote:

I am configuring Jenkins job which does a release of my app's build 
configured for our staging environment.


I enabled setting: Build when a change is pushed to GitHub which 
automatically added corresponding Github hook to my project's settings on 
Github and the hooks started to be triggered.
 However I didn't find a way how to make this job to be triggered by *only 
the pushes to a master branch* not to any other branch. 


My current observation is that Github Plugin doesn't allow this sort of 
configuration, but maybe I'm missing something.

Thanks.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/190c75b6-db98-4868-96a5-40a8f39e57c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to