hudson.plugins.git.GitException

Could determine remote.origin.url

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web607

  • via Jenkins JIRA by bnovc, 1 year ago
    Could determine remote.origin.url
  • via Jenkins JIRA by bnovc, 1 year ago
    Could determine remote.origin.url
  • via Google Groups by Jenkins, 6 months ago
    Command "git config remote.origin.url git://github.com/motech/modules.git" returned status code 255: stdout: stderr: error: could not lock config file .git/config: File exists
  • Stack trace

    • hudson.plugins.git.GitException: Could determine remote.origin.url at hudson.plugins.git.GitAPI.fixSubmoduleUrls(GitAPI.java:490) at hudson.plugins.git.GitAPI.setupSubmoduleUrls(GitAPI.java:552) at hudson.plugins.git.GitSCM.fetchSubmodulesFrom(GitSCM.java:606) at hudson.plugins.git.GitSCM.access$700(GitSCM.java:56) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1036) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1006) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1979) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Caused by: hudson.plugins.git.GitException: Error performing command: C:\Program Files (x86)\Git\cmd\git.cmd config --get remote.origin.url Command "C:\Program Files (x86)\Git\cmd\git.cmd config --get remote.origin.url" returned status code 1: at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:606) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:571) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:581) at hudson.plugins.git.GitAPI.getRemoteUrl(GitAPI.java:367) at hudson.plugins.git.GitAPI.fixSubmoduleUrls(GitAPI.java:473) ... 16 more Caused by: hudson.plugins.git.GitException: Command "C:\Program Files (x86)\Git\cmd\git.cmd config --get remote.origin.url" returned status code 1: at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:601) ... 20 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago