hudson.plugins.git.GitException: Command "git push git-company@server.company.com:/srv/company.git build-121 " returned status code 128: stdout: stderr: fatal: remote part of refspec is not a valid name in build-121

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Willem Stuursma, 1 year ago
Command "git push git-company@server.company.com:/srv/company.git build-121 " returned status code 128: stdout: stderr: fatal: remote part of refspec is not a valid name in build-121
via Jenkins JIRA by Willem Stuursma, 1 year ago
Command "git push git-company@server.company.com:/srv/company.git build-121 " returned status code 128: stdout: stderr: fatal: remote part of refspec is not a valid name in build-121
via Stack Overflow by Atul
, 2 years ago
Command "/usr/bin/git push git@github.paypal.com:atagrawal/maven-test-3.git > tag02" returned status code 128: ERROR: Permission to > atagrawal/maven-test-3.git denied to gitadmin. fatal: The remote end hung up unexpectedly
via Jenkins JIRA by Sylvain Veyrié, 1 year ago
Command "git push ssh://****:29418/****.git HEAD:refs/for/master" returned status code 1: To ssh://****:29418/****.git ! [remote rejected] HEAD -> refs/for/master (no new changes) error: failed to push some refs to 'ssh://****:29418/****.git'
via Jenkins JIRA by Sylvain Veyrié, 1 year ago
Command "git push ssh://****:29418/****.git HEAD:refs/for/master" returned status code 1: To ssh://****:29418/****.git ! [remote rejected] HEAD -> refs/for/master (no new changes) error: failed to push some refs to 'ssh://****:29418/****.git'
via Stack Overflow by user1414274
, 6 days ago
Command "C:/Program Files (x86)/Git/bin/git.exe push <repository> <tag-name>" returned status code 1: stdout: stderr: Could not create directory 'c/Users/<user-name>/.ssh'.
hudson.plugins.git.GitException: Command "git push git-company@server.company.com:/srv/company.git build-121 " returned status code 128: stdout: stderr: fatal: remote part of refspec is not a valid name in build-121
at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:779)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:741)
at hudson.plugins.git.GitAPI.push(GitAPI.java:797)
at hudson.plugins.git.GitPublisher$3.invoke(GitPublisher.java:277)
at hudson.plugins.git.GitPublisher$3.invoke(GitPublisher.java:247)
at hudson.FilePath.act(FilePath.java:832)
at hudson.FilePath.act(FilePath.java:814)
at hudson.plugins.git.GitPublisher.perform(GitPublisher.java:247)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:658)
at hudson.model.Build$RunnerImpl.post2(Build.java:162)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627)
at hudson.model.Run.run(Run.java:1446)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.