mohamicorp / stash-jenkins-postreceive-webhook

Webhook used to notify Jenkins when commits are made to Stash
Other
138 stars 100 forks source link

Jenkins shouldn't trigger for each commit #213

Open latchuliz opened 5 years ago

latchuliz commented 5 years ago

I have installed jenkins (version 2.164.2) on ubuntu 16. I have integrated jenkins with github. my issue is that whenever user commit the code to remote repo then jenkins trigger the build. Its also triggering the build when create pull request. Its working fine. But i dont want jenkins trigger the build for each commit. How to avoid this issue? please help me to fix this issue.