Hi Chris What I usually do is to put the credentials into the ~/.gitconfig of the worker. You can use the insteadOf directive of the gitconfig so that you buildbot looks like git://myserver_id/repo
Then you gitconfig has something like: [url "ssh://bot:[email protected]/"] insteadOf=git://myserver_id/ Note that the best practice is to use ssh keys, instead of password. We are currently working at a nice method to get the master send ssh keys and other creds securely to the worker just for the time of a step. Regards Pierre On Thu, Mar 2, 2017 at 2:18 AM Chris Spencer <[email protected]> wrote: > How do you specify the ssh key to use with the Gitpoller and Git step > classes? > > I'm currently hard-coding my username/password in the repourl, and I'd > like to move away from that for security reasons. However, even after > reading the docs and looking at the source, I can see no obvious way to > specify the pem key file to checkout and fetch via ssh. > _______________________________________________ > users mailing list > [email protected] > https://lists.buildbot.net/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] https://lists.buildbot.net/mailman/listinfo/users
