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

Git plugin does not handle git-flow style feature branches (e.g. feature/myfeature) correctly

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • git-plugin
    • None
    • Running on a Debian 6.0 virtual machine (Xen), Tomcat 6 (from tomcat6 .deb package), Sun JDK 1.6.0_26 (from sun-java6-jdk .deb package), git 1.7.2.5

      When I configure a job to use a branch in the form feature/myfeature (as would be created by git-flow when starting a feature branch) the checkout in the workspace ends up being from the master branch after the job runs. The feature/myfeature branch is present on the git server pointed to by the URL configured in the job and can be successfully checked out into the workspace manually using the configured credentials. Further, configuring other simple branch names, like develop, as the branch in the job configuration works fully as expected – only branch names beginning with 'feature/' seem to encounter a problem.

            abayer Andrew Bayer
            leer Lee Rosen
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: