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

Multiple repositories failes checkout of custom branch

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: git-plugin
    • Labels:
    • Environment:
      jenkins: 1.477 and 1.472
      git: 1.1.21 and 1.1.22
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            flozzone 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.

            Show
            flozzone 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.
            Hide
            blt04 Brandon Turner added a comment -
            Show
            blt04 Brandon Turner added a comment - Pull request: https://github.com/jenkinsci/git-plugin/pull/286

              People

              • Assignee:
                kktest7 Kohsuke Kawaguchi
                Reporter:
                flozzone Florin Hillebrand
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: