Re: ERROR: Failed to push merge to origin repository

2016-03-02 Thread Mark Waite
In the job definition page, check that the "Advanced" section of the git
repositories you're referencing have at least one of them whose "Name" is
"origin".  The default is "origin", but evolution of job definitions
sometimes leaves a "Name" as something other than "origin".

Mark Waite

On Wed, Mar 2, 2016 at 8:22 AM Niels Muysewinkel <niels.muysewin...@absi.be>
wrote:

> Can anyone give me any pointers on how to resolve this issue?
> What we are trying to do is merge 2 branches in our git repo into a third
> branch and afterwards deploy changes to that branch to salesforce.
> I seems to merge the branches and then fails to push to git.
> Any help is kindly appreciated!
>
> Pushing HEAD to branch devint of origin repository
> ERROR: Failed to push merge to origin 
> repositoryhudson.plugins.git.GitException 
> <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>:
>  Command "git config --get remote.origin.url" returned status code 1:
> stdout:
> stderr:
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1173)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1150)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1146)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:962)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:972)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteUrl(CliGitAPIImpl.java:679)
>   at hudson.plugins.git.GitAPI.getRemoteUrl(GitAPI.java:62)
>   at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.push(CliGitAPIImpl.java:1203)
>   at hudson.plugins.git.GitAPI.push(GitAPI.java:66)
>   at hudson.plugins.git.GitPublisher.perform(GitPublisher.java:226)
>   at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
>   at hudson.model.Build$BuildExecution.post2(Build.java:183)
>   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725)
>   at hudson.model.Run.execute(Run.java:1701)
>   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>   at hudson.model.ResourceController.execute(ResourceController.java:88)
>   at hudson.model.Executor.run(Executor.java:231)
> Build step 'Git Publisher' marked build as failure
> Finished: FAILURE
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/b87925ae-8e60-4725-a020-df6d350be3be%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/b87925ae-8e60-4725-a020-df6d350be3be%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFt%2Bo066xT9ezicp98UCTkg6YJNJ3OWE1A23Upjg20GOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


ERROR: Failed to push merge to origin repository

2016-03-02 Thread Niels Muysewinkel
Can anyone give me any pointers on how to resolve this issue?
What we are trying to do is merge 2 branches in our git repo into a third 
branch and afterwards deploy changes to that branch to salesforce.
I seems to merge the branches and then fails to push to git.
Any help is kindly appreciated!

Pushing HEAD to branch devint of origin repository
ERROR: Failed to push merge to origin repositoryhudson.plugins.git.GitException 
<http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>:
 Command "git config --get remote.origin.url" returned status code 1:
stdout: 
stderr: 
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1173)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1150)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1146)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:962)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:972)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteUrl(CliGitAPIImpl.java:679)
at hudson.plugins.git.GitAPI.getRemoteUrl(GitAPI.java:62)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.push(CliGitAPIImpl.java:1203)
at hudson.plugins.git.GitAPI.push(GitAPI.java:66)
at hudson.plugins.git.GitPublisher.perform(GitPublisher.java:226)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:725)
at hudson.model.Run.execute(Run.java:1701)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)
Build step 'Git Publisher' marked build as failure
Finished: FAILURE

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b87925ae-8e60-4725-a020-df6d350be3be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.