In continuation to jenkins-pipeline-syntax-for-p4sync - I am not able to get the \"Poll SCM\" option work for my pipeline job. Here is my configuration:
After updating all the plugins to latest (as of this post date) and restarting the jenkins server - the polling appears to be working with the exact same configuration (job now has the poll log link). I'm not sure what exactly resolved the issue - but I consider it resolved.
If you go to the Groovy snippet generator and check the "include in polling" checkbox, you'll see that the generated code includes a line item for it:
checkout([
poll: true,
As an aside, you may run into problems at the moment using ${NODE_NAME} in your workspace name. The polling runs on the master, so it might not properly find the change number of your previous build. If that's the case, I know a fix for it should be coming shortly.