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

Multiple repositories failes checkout of custom branch

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • jenkins: 1.477 and 1.472
      git: 1.1.21 and 1.1.22

      Steps to reproduce:
      1. Setup git plugin with two repositories (with or without refspec)
      2. Specify a job string parameter for the branch
      3. Launch the build with a custom branch as parameter

      Actual results:
      Checks out the last built branch

      Expected results:
      Check out the branch which was specified by parameter

          [JENKINS-14846] Multiple repositories failes checkout of custom branch

          A workaround for this is to specify a choose parameter containing the repositories, to have only one repository set up in git plugin. So a user can first select the repository where his branch is and then specify the branch.

          Florin Hillebrand added a comment - A workaround for this is to specify a choose parameter containing the repositories, to have only one repository set up in git plugin. So a user can first select the repository where his branch is and then specify the branch.

          Brandon Turner added a comment - Pull request: https://github.com/jenkinsci/git-plugin/pull/286

            Unassigned Unassigned
            flozzone Florin Hillebrand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: