Bookmarks - Jenkins, Bitbucket Git on Windows
Goal
- Run Jenkins on Windows platform.
- Use bitbucket.org Git as source code repository.
- Hook up Jenkins job when somebody commits code to bitbucket.
Bookmarks
- https://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git
- http://opensourcetester.co.uk/2013/06/28/jenkins-windows-ssh/
Gotchas
- You don’t need PuTTY. OpenSSH can do the job done.
- When generating SSH key, do not put any password.
- Set HOME system environment variable to the parent folder of .ssh folder.
When #3 is not done, ssh -T git@bitbucket.org
was giving me Permission denied (publickey)
error when I try from regular DOS command, but worked when I try from git bash.
Note that HOME value is used for your interactive user and also Jenkins user.
Written on May 15, 2014