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

ExportXMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: git-plugin
    • Environment:
      Jenkins 1.609.3
      GIT plugin 2.4.0
      GIT client plugin 1.19.0

      I wanted to see where, when and how I could make use of GIT_BRANCH in a job that tracks multiple branches. Branch specifier is set to 'origin/topic/*', which matches two branches - 'parallel_1' and 'parallel_2'. In the additional behaviors section, I specified '${GIT_BRANCH}' as local subdirectory for repo.

      I start the job manually and it triggers two builds - one for each matching branch. However, my workspace contains two directories called '${GIT_BRANCH}' (from build #1 for parallel_1 branch) and 'parallel_1' (from build #2 for parallel_2 branch).

      I would expect GIT_BRANCH to be used consistently - either correctly all the time or never.

            Assignee:
            Unassigned
            Reporter:
            T.B. Anton
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: