jenkinsci / jenkinsci/branch-api-plugin

[JENKINS-46536] A pollSCM property in a multibranch pipeline should ignore checking the primary SCM

Open
#674 1 comment 0 reactions 0 assignees View on GitHub
component:branch-api-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
39
Forks
154
PR merge metrics
No merged PRs in 30d

Description

Context: https://groups.google.com/forum/#!topic/jenkinsci-users/d3RyHNnbieI

User reports that pollSCM is working for SCM changes from the multibranch managed SCM. 

pollSCM should either be a no-op, or only poll secondary SCMs when used in a multibranch project

---
Originally reported by stephenconnolly, imported from: A pollSCM property in a multibranch pipeline should ignore checking the primary SCM


  • status: Open
  • priority: Minor
  • component(s): branch-api-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 3
  • imported: 20251211-141027

Raw content of original issue

Context: https://groups.google.com/forum/#!topic/jenkinsci-users/d3RyHNnbieI

User reports that pollSCM is working for SCM changes from the multibranch managed SCM. 

pollSCM should either be a no-op, or only poll secondary SCMs when used in a multibranch project

Contributor guide

Open the contributing guide

Research direction

Start by tracing how pollSCM is handled for multibranch projects in the branch-api-plugin, using the linked user report as context. Determine how primary and secondary SCMs are distinguished, then add coverage for the reported behavior; done means the primary multibranch SCM is not polled by this property while any intended secondary-SCM behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.