I am configuring a legacy Jenkins which has installed the SCM Poll plugin with Git and Gerrit plugins. Due to something I cannot comprehend, even if I have no branch or specific project configured anywhere for my git server nor in my job, I can clearly see how my job is handling the correct repository (Git Polling Log works flawlessly) and other projects don't trigger it.
Is that configured in a very hidden place? Does it work executing git on the workspace without knowing context?
I cannot see any SCM configuration tab in my Jenkins or either Fast Remote Polling or other features Im seeing appointed to in Internet, but I am using pipeline scripts, so maybe that feature is disabled, or maybe my git/gerrit plugin is infering the context somehow.
In the same section "Build Trigger", for instance, I have the Gerrit Event option disabled, and if I select the checkbox, then it asks me for a repository url and usual stuff
Please check the Pipeline. It has two type of definition: Pipeline script and Pipeline script from SCM. If the definition is Pipeline script from SCM, there has repo URL and branches to build.
And yes, it hasn’t SCM configuration tab, but you can find related things in Build Triggers tab of Poll SCM selection.
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