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.
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.