GIT_BRANCH not set when multiple branches are selected for build

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

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            jadaks31
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: