Hi, I am having some trouble getting a push to a branch.

I set up Jenkins to detect a Github web hook (which it is detecting 
successfully, and executing the build step) when I push to a remote branch 
on my personal GitHub, however, it returns this error after the build is 
completed:


Pushing HEAD to branch DevBranch at repo origin

 > git --version # timeout=10

using GIT_ASKPASS to set credentials 

 > git push https://github.com/user/p 
 > <https://github.com/krendon/jenkinsPersonalTest>roject HEAD:DevBranch

ERROR: Failed to push branch DevBranch to origin

hudson.plugins.git.GitException 
<http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>:
 Command "git push https://github.com/user/p 
<https://github.com/krendon/jenkinsPersonalTest>roject HEAD:DevBranch" returned 
status code 128:

stdout: 

stderr: remote: Invalid username or password.



Beyond this, i cannot confirm why this is occurring.


other notes: when i do a push, it does ask for a passphrase for my key during a 
push or pull.


How can I set up Jenkins to properly push in the Git publisher step?


Thanks in advance.

-- 
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/765776ec-8dfb-4588-9528-bccc6cbb200c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to