Stderr: Error: unable to resolve reference refs – Not a directory

rajeshkumar created the topic: stderr: error: unable to resolve reference refs – Not a directory
Fetching changes from the remote Git repository
Fetching upstream changes from git@gitlab.XXX.XXXX.net:XXXXX
FATAL: Failed to fetch from git@gitlab.XXXX.XXXXX.XXX:sbfs/source-code.git
hudson.plugins.git.GitException: Failed to fetch from git@gitlab.XXXX.XXXXX.XXX:sbfs/source-code.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:625)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:847)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:872)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557)
at hudson.model.Run.execute(Run.java:1665)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:246)
Caused by: hudson.plugins.git.GitException: Command “git fetch –tags –progress git@gitlab.XXXX.XXXXX.XXX:sbfs/source-code.git +refs/heads/*:refs/remotes/origin/*” returned status code 1:
stdout:
stderr: error: unable to resolve reference refs/remotes/origin/release/v2222: Not a directory
From gitlab.XXXX.XXXXX.XXX:sbfs/source-code
! [new branch] release/v70 -> origin/release/v70 (unable to update local ref)
error: unable to resolve reference refs/remotes/origin/release/v71: Not a directory
! [new branch] release/v71 -> origin/release/v71 (unable to update local ref)
error: some local refs could not be updated; try running
‘git remote prune git@gitlab.XXXX.XXXXX.XXX:sbfs/source-code.git’ to remove any old, conflicting branches

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1086)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:968)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:71)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:197)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x