Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
195 Lượt xem

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.


Ảnh đại diện
Huỷ bỏ
Tác giả

Thank You Anagha

Câu trả lời hay nhấ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?

Ảnh đại diện
Huỷ bỏ

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

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

Câu trả lời hay nhất

Hi ,


please refer these blog

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 25
1322
0
thg 1 25
1038
1
thg 12 24
1584
4
thg 7 25
17423
1
thg 6 25
509