How can you debug and investigate why SCM polling is not working jenkins? Clearly, there are easy ways to enable it , but I'm finding that it simply "stops" working sometimes, and although I can see the SCM logs which say polling hasnt happened recently, Im not sure where to start with investigating where the polling is actually occuring.
Your jobs will have an SCM polling log, e.g. http://jenkinshost/job/jobname//scmPollLog
, which will tell you if the execution of the SCM polling is having problems such as not being able to find the SCM client executable.
The Jenkins master log may also show errors - the location of this log depends on how you've installed Jenkins, so if you can't find it add a comment here and I'll try to help you out.
You should also double check the cron expression you're using in the SCM polling section of your Jenkins job, just to make sure it's really firing on the schedule you want. You can test cron expressions with tools such as http://www.cronmaker.com/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With