İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
270 Görünümler

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.


Avatar
Vazgeç
Üretici

Thank You Anagha

En İyi Yanıt

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?

Avatar
Vazgeç

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

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
May 25
1347
0
Oca 25
1066
1
Ara 24
1617
4
Tem 25
17504
1
Haz 25
529