Tutorial by Examples

Out of the box installations of Jenkins with the Git and SSH plugins will not work when attempting to pull a private repository from GitHub.
The first step to fix this issue I found was to download PSTools and extract the tools to a convenient location on the build server (e.g. c:\Programs\PSTools is there I extracted mine).
First open the Command prompt and "Run as Administrator". Once the command prompt is open navigate to the PSTools directory. From the command prompt we need to run git-bash using PSExec or PSExec64 as the Local Service, which Jenkins is running on the build server as by default. We wi...
The hard part is over! Now just create the credentials to be used in Jenkins. Use your own Username and the passphrase used to create the SSH Key. This is what it should look like now (with your own private github repo and user name:
Save and run a test pull request and your should no longer have any further problems with having Jenkins use SSH on your Windows build machine.

Page 1 of 1