• Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • branch-api-plugin
    • None

      It would be nice if the branch-api-plugin could indicate whether a branch is primary or not.

      With our transition to more inclusive language, we're trying to tackle all the spots where we have hardcoded the name of the expected primary branch and found a need to determine if the branch is the default branch or not.

          [JENKINS-64686] Expose primary branch attribute

          Adam Gabryś added a comment -

          It has been implemented: PR #236. Will be released in the 2.6.4 version.

          Adam Gabryś added a comment - It has been implemented: PR #236 . Will be released in the 2.6.4 version.

          Kalle Niemitalo added a comment - - edited

          Branch API 2.6.4 was released on 6 May 2021.

          Kalle Niemitalo added a comment - - edited Branch API 2.6.4 was released on 6 May 2021.

            Unassigned Unassigned
            anemortalkid Jan Monterrubio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: