Can't configure Jenkins and Git

I'm obviously missing something simple: I can't figure out how to make Jenkins build a project on GitHub:

  • I created a build user and added them to the project.
  • I generated an SSH key on the build machine as the Jenkins user, and added that to the GitHub build account
  • I created a new GitHub project and pasted the ssh URI as it appears on the widget on the GitHub page.

Jenkins tries to authenticate and fails.

I tried with credentials set to "none" as well as global credentials matching the GitHub account. Nothing seems to work.

This should be easy. I'm stumped on this for hours, and am quite frustrated at this point. Any help would be much appreciated.

Thanks!

Answers


Oh, seriously? I created the key with passphrase. Once I recreated without one, all was well. But I thought that the credentials I entered would have provided the passphrase...apparently not.

Silly oversight, annoyed it took me so long to notice the problem!


Need Your Help

Can I "pre-generate" all possible static-html pages of my "dynamic" website?

html ruby-on-rails search-engine generator static-html

Some websites like for example http://www.idealo.co.uk seem to serve only static html, although their content is dynamic.

Drop down div doesn't stay visible

javascript html drop-down-menu visible

I am trying to make a drop down list and I have made it somewhat work. When I put the mouse over the area, a div in the shape of the drop down becomes visible. Then when you put your mouse over any...