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

Git Plugin should record the initial branch when completing a merge before build

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None

      When checking out a branch and then merging another branch into the branch, the original branch is lost.

      Configure the job to checkout origin/develop. Add a merge before build to merge origin/master into the workspace. This causes git-plugin to checkout master and then merge develop into the workspace. The current branch is now master.

      In the event that the original branch or commit needs to be passed to another job, this information is no longer available.

            Unassigned Unassigned
            mattfirtioncoveros Matt Firtion
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: