${GIT_BRANCH} macro expands full branch name + remotes instead of short name

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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: git-plugin
    • Environment:
      Centos OS 6,
      git version 1.7.12.4,
      Jenkins ver. 1.588,
      GIT plugin 2.2.7

      Docs says that ${GIT_BRANCH} macro should expands to the full branch name, such as 'origin/master'. Otherwise(without fullName parameter), it only expands to the short name, such as 'master', but without fullName parameter it expands to 'remotes/origin/master' with fullName parameter it doesn't work at all.

            Assignee:
            Unassigned
            Reporter:
            Maciej Matys
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: