Jenkins 连接github

使用 ssh进行连接 使用 命令行获取到ssh的私钥和公钥 $ ssh-keygen -t rsa -C [email protected]” 生产 .ssh/id_rsa和 /.ssh/id_rsa.pub 文件,将公钥(id_rsa.pub)中的内容复制到 github的账号上。 在jenkins中创建证书(Credentials),位置如下图: 使用 access token 连接 在git
相关文章
相关标签/搜索