Skip to content

[JENKINS-75507] SCM UI improvement: Hide categories on job page if not needed #799

@jenkins-infra-bot

Description

@jenkins-infra-bot

If I understand correctly the Branch Source Plugin is responsible for the different available "Discover branches/pull requests/tags" strategies within the Job configuration pages.

On our Jenkins installation we exclusively use "Discover branches" and do not want to use "Discover pull requests" because having this differentiation causes redundant builds whenever someone is creating a PR for an existing branch (Branch X will then be categorized as PR, creating a new job, triggering a new build).

However the job page UI looks like this even with just "Discover branches":

Would it makes sense to just show the "Branches (X)" label when this is the only strategy configured to simplify the UI? In other words: just show the labels of the active discovery methods?

 

 

 


Originally reported by kfunk, imported from: SCM UI improvement: Hide categories on job page if not needed
  • status: Open
  • priority: Minor
  • component(s): branch-api-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251211-141027
Raw content of original issue

If I understand correctly the Branch Source Plugin is responsible for the different available "Discover branches/pull requests/tags" strategies within the Job configuration pages.

On our Jenkins installation we exclusively use "Discover branches" and do not want to use "Discover pull requests" because having this differentiation causes redundant builds whenever someone is creating a PR for an existing branch (Branch X will then be categorized as PR, creating a new job, triggering a new build).

However the job page UI looks like this even with just "Discover branches":

Would it makes sense to just show the "Branches (X)" label when this is the only strategy configured to simplify the UI? In other words: just show the labels of the active discovery methods?

 

 

 

1 attachment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions