Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75507

SCM UI improvement: Hide categories on job page if not needed

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • branch-api-plugin
    • None

      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?

       

       

       

            Unassigned Unassigned
            kfunk Kevin Funk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: