Here we will be checking out the latest copy of our project's code, run the tests and will make the application live.To achieve that, follow below steps:
Provide url of git repo like git://github.com/example/example.git
*****
in Schedule box. This box is responsible to trigger the build at regular intervals. *****
specifies that, the job will get trigger every minute for changes in git repo.So above we have configured a basic project in Jenkins which will trigger the build at every minute for change in your git repository. Note: To setup the complex project, you may have to install some plugins in Jenkins.