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

Non-default Git repository name no longer works

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • None
    • Windows Server 2008 R2, Jenkins 1.3.96, Jenkins Git plug-in 1.1.5, Git 1.7.4.msysgit.0

      If I use a non-default value for "Source Code Management->Git->Name of repository" in a project, the Git plug-in breaks (whereas it worked before I upgraded to 1.1.5).

      This is the crux of the problem:
      Caused by: hudson.plugins.git.GitException: Error performing command: git.cmd config --get remote.origin.url
      Command "git.cmd config --get remote.origin.url" returned status code 1

      Even though the remote is named something else than "origin" (via the "Name of repository" setting), the Git plug-in still refers to it as "origin". I have verified that resetting "Name of repository" to the default fixes my problem.

            ndeloof Nicolas De Loof
            aknuds1 Arve Knudsen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: