تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
318 أدوات العرض

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
مايو 25
1367
0
يناير 25
1081
1
ديسمبر 24
1649
4
يوليو 25
17581
1
يونيو 25
553