I an using jenkins and I would like my tests to run automatically after each commit.
I followed the instructions in the following link:
http://blog.cloudbees.com/2012/01/better-integration-between-jenkins-and.html
I clicked Let Jenkins auto-manage hook URLs in global configuearion/ Githup Web Hook and I added my username and password for githup but still after changes and pushing to the repo, my tests do not run!
Github Hook Log: Polling has not run yet.
Is there anything that I forgot?
P.S. I can run my tests manually (Click on Build now) and I can see my commits (changes) when I build my test.
I would first check if the post-receive URL has really been set by Jenkins. Go to github.com/YOURNAME/REPO/admin/hooks and open Post-Receive URLs
If there is nothing, you could follow the instructions above on how to install the hook yourself.
If the hook is there in github.com, try to click on the Test Hook button. Did it trigger a build?
If the build still does not work, check if there is a firewall in between github and your Jenkins that could prevent github.com from connecting to your jenkins.
More information on debugging github hooks is at http://help.github.com/post-receive-hooks/
I have same issue to solve that i add a Poll SCM Builds Triggers and Schedule it for every 2 min H/2 * * * *