I have builds set up in Jenkins that use custom workspaces (for the purpose of having no spaces in the path names), that use SCM (git) polling to check for changes. However, in what seems like exactly every 24 hours, I see a triggered build that has this polling log:
Started on Jun 13, 2011 5:21:32 PM
No workspace is available, so can't check for updates.
Scheduling a new build to get a workspace.
Done. Took 1 ms
Changes found
It appears to be scheduling a build simply to obtain a workspace (something I expressly do not want to happen) even though nothing has been committed to git. I have unticked the option to remove old builds, do not have a periodic build set up, and use SCM polling once a minute.
I'm stumped and can't provide more detail than this - other than I know the workspace exists on the machine. Is there any way to stop this from happening other than ACTUAL commits to git?
The changelog for version 1.1.12 indicates that a workspace is no longer required for polling. Upgrading to this version of the plugin fixed this problem for us.
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