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

Multiple repositories failes checkout of custom branch

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • git-plugin
    • jenkins: 1.477 and 1.472
      git: 1.1.21 and 1.1.22

    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

            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.

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

            People

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

              Dates

                Created:
                Updated: