跳至內容
選單
此問題已被標幟
3 回覆
208 瀏覽次數

Hello everyone,

I need help configuring Jenkins to work with a private GitHub repository for our Odoo 17 custom modules.

I have set up a Jenkins job to pull our code, but every build fails with the following error

Failed to connect to repository: Command "git ls-remote -h stderr: Permission denied (publickey).

fatal: Could not read from remote repository.


頭像
捨棄
作者

Thank You Anagha

最佳答案

Have you tried creating an SSH key on the server running Jenkins, adding the public key to the GitHub repository (Settings -> Deploy keys) and making sure Jenkins is using that private key?

頭像
捨棄

I’ve seen the same Permission denied (publickey) error.

This post was last modified: 05-09-2025, 00:54 am by https://blockblastonline.com

相關帖文 回覆 瀏覽次數 活動
1
5月 25
1334
0
1月 25
1041
1
12月 24
1593
4
7月 25
17472
1
6月 25
515