Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
305 มุมมอง

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

คำตอบที่ดีที่สุด

Hi ,


please refer these blog

https://www.cybrosys.com/blog/how-to-create-jenkins-pipelines-and-create-builds

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 25
1360
0
ม.ค. 25
1072
1
ธ.ค. 24
1635
4
ก.ค. 25
17551
1
มิ.ย. 25
539