The old jenkins cookbook used to do this automatically, but the new one is much less opinionated.
Currently, this rake task fails because there is no key to transfer:
bundle exec rake team:add_deploy_key
Can get around this until we fix it by running this after the team:update_jenkins task:
ssh github_username@ci.myproject.example.com
sudo -iujenkins bash
ssh-keygen -t rsa -C "jenkins@localhost"
# Accept all defaults. (blank/no passphrase)
The old jenkins cookbook used to do this automatically, but the new one is much less opinionated.
Currently, this rake task fails because there is no key to transfer:
Can get around this until we fix it by running this after the
team:update_jenkinstask: