hudson.plugins.git.GitException: Command "C:\Program Files\Git\cmd\git.exe -c core.askpass=true fetch --tags --progress http://git-server/MyGroup/test-project +refs/heads/*:refs/remotes/origin/*" returned status code 128: 00:00:01.149 stdout: 00:00:01.149 stderr: fatal: Authentication failed for 'http://git-server/MyGroup/test-project/' 00:00:01.149 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1740) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1476) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506) 00:00:01.149 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) 00:00:01.149 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) 00:00:01.149 at hudson.remoting.UserRequest.perform(UserRequest.java:153) 00:00:01.149 at hudson.remoting.UserRequest.perform(UserRequest.java:50) 00:00:01.149 at hudson.remoting.Request$2.run(Request.java:332) 00:00:01.149 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 00:00:01.149 at java.util.concurrent.FutureTask.run(Unknown Source) 00:00:01.150 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 00:00:01.150 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 00:00:01.150 at hudson.remoting.Engine$1$1.run(Engine.java:85) 00:00:01.150 at java.lang.Thread.run(Unknown Source) 00:00:01.150 at ......remote call to Win10Xamarin(Native Method) 00:00:01.150 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) 00:00:01.150 at hudson.remoting.UserResponse.retrieve(UserRequest.java:253) 00:00:01.150 at hudson.remoting.Channel.call(Channel.java:781) 00:00:01.150 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145) 00:00:01.150 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:00:01.150 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 00:00:01.150 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 00:00:01.150 at java.lang.reflect.Method.invoke(Method.java:498)

Stack Overflow | WebDucer | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jenkins Windows slave: Authentication failed if running as service

    Stack Overflow | 7 months ago | WebDucer
    hudson.plugins.git.GitException: Command "C:\Program Files\Git\cmd\git.exe -c core.askpass=true fetch --tags --progress http://git-server/MyGroup/test-project +refs/heads/*:refs/remotes/origin/*" returned status code 128: 00:00:01.149 stdout: 00:00:01.149 stderr: fatal: Authentication failed for 'http://git-server/MyGroup/test-project/' 00:00:01.149 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1740) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1476) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506) 00:00:01.149 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) 00:00:01.149 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) 00:00:01.149 at hudson.remoting.UserRequest.perform(UserRequest.java:153) 00:00:01.149 at hudson.remoting.UserRequest.perform(UserRequest.java:50) 00:00:01.149 at hudson.remoting.Request$2.run(Request.java:332) 00:00:01.149 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 00:00:01.149 at java.util.concurrent.FutureTask.run(Unknown Source) 00:00:01.150 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 00:00:01.150 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 00:00:01.150 at hudson.remoting.Engine$1$1.run(Engine.java:85) 00:00:01.150 at java.lang.Thread.run(Unknown Source) 00:00:01.150 at ......remote call to Win10Xamarin(Native Method) 00:00:01.150 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) 00:00:01.150 at hudson.remoting.UserResponse.retrieve(UserRequest.java:253) 00:00:01.150 at hudson.remoting.Channel.call(Channel.java:781) 00:00:01.150 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145) 00:00:01.150 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:00:01.150 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 00:00:01.150 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 00:00:01.150 at java.lang.reflect.Method.invoke(Method.java:498)

    Root Cause Analysis

    1. hudson.plugins.git.GitException

      Command "C:\Program Files\Git\cmd\git.exe -c core.askpass=true fetch --tags --progress http://git-server/MyGroup/test-project +refs/heads/*:refs/remotes/origin/*" returned status code 128: 00:00:01.149 stdout: 00:00:01.149 stderr: fatal: Authentication failed for 'http://git-server/MyGroup/test-project/' 00:00:01.149 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1740) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1476) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314) 00:00:01.149 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506) 00:00:01.149 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) 00:00:01.149 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) 00:00:01.149 at hudson.remoting.UserRequest.perform(UserRequest.java:153) 00:00:01.149 at hudson.remoting.UserRequest.perform(UserRequest.java:50) 00:00:01.149 at hudson.remoting.Request$2.run(Request.java:332) 00:00:01.149 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 00:00:01.149 at java.util.concurrent.FutureTask.run(Unknown Source) 00:00:01.150 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 00:00:01.150 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 00:00:01.150 at hudson.remoting.Engine$1$1.run(Engine.java:85) 00:00:01.150 at java.lang.Thread.run(Unknown Source) 00:00:01.150 at ......remote call to Win10Xamarin(Native Method) 00:00:01.150 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) 00:00:01.150 at hudson.remoting.UserResponse.retrieve(UserRequest.java:253) 00:00:01.150 at hudson.remoting.Channel.call(Channel.java:781) 00:00:01.150 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145) 00:00:01.150 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:00:01.150 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 00:00:01.150 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 00:00:01.150 at java.lang.reflect.Method.invoke(Method.java:498)

      at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke()
    2. org.jenkinsci.plugins
      RemoteGitImpl$CommandInvocationHandler.invoke
      1. org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
      1 frame
    3. com.sun.proxy
      $Proxy65.execute
      1. com.sun.proxy.$Proxy65.execute(Unknown Source)
      1 frame
    4. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1046)
      2. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1086)
      2 frames
    5. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SCM.checkout(SCM.java:495)
      2. hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
      3 frames
    6. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      2. hudson.model.Run.execute(Run.java:1741)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      4. hudson.model.ResourceController.execute(ResourceController.java:98)
      5. hudson.model.Executor.run(Executor.java:410)
      5 frames