Jenkins Github Authentication error

12 views
Skip to first unread message

kyle rendon

unread,
May 8, 2017, 3:21:26 PM5/8/17
to Jenkins Users
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/project HEAD:DevBranch
ERROR: Failed to push branch DevBranch to origin
hudson.plugins.git.GitException: Command "git push https://github.com/user/project 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.
Reply all
Reply to author
Forward
0 new messages