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

Expose primary branch attribute

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          anemortalkid Jan Monterrubio created issue -
          Hide
          agabrys Adam Gabryś added a comment -

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

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

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            anemortalkid Jan Monterrubio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: