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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None
    • 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.

            Unassigned Unassigned
            metyl Maciej Matys
            Votes:
            8 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: