falldamagestudio / UE-Jenkins-BuildSystem

Build Unreal Engine & games with Jenkins on GKE/GCE
MIT License
46 stars 11 forks source link

"Poll SCM" settings are ineffective for Plastic repos #52

Open Kalmalyzer opened 3 years ago

Kalmalyzer commented 3 years ago

Not sure why, but setting a poll schedule has no effect.

Kalmalyzer commented 3 years ago

After a bit of digging, it turns out that Jenkins has two polling modes; one where polling needs to be done on the agents, and another where polling is done directly on the controller.

The traditional polling mode of Jenkins is to do polling on the agents. This mode does not work reliably when we have on-demand agents. Each SCM provider must implement its own support for controller-based polling. The Plastic SCM plugin does not have this functionality today. https://github.com/jenkinsci/plasticscm-plugin/pull/43 adds it to the plugin - let's see if the plugin maintainers accept the PR.

Kalmalyzer commented 3 years ago

PR accepted. Waiting for a full release of the plugin.