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

GIT_BRANCH not set when multiple branches are selected for build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • git-plugin
    • None
    • Windows 7

      When trying to identify what branch the current build are on i found that the GIT_BRANCH environment variable is not set when more then a single branch is selected to be built.

      I have seen that getSingleBranch(build) returns null when that happens GIT_BRANCH is not exposed to the build.

            Unassigned Unassigned
            jadaks31 jadaks31
            Votes:
            7 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: