guys!! I'm trying to set up Jenkins-ci for a project that uses GIT as a local version control of my repositories. I've already set up jenkins with the appropriate plugins. I want jenkins to run build scripts only whenever someone on the project pushes to master, just only can get information to GitHub,GitLab,etc but it is useless. So far I've been able to set it up so that a build will be triggered anytime anyone pushes to anywhere.
I would like to know how set up a Jenkins' task to build automatically a project when make git push to my repository