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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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?

       

       

       

            Assignee:
            Unassigned
            Reporter:
            Kevin Funk
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: