Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
333 Zobrazení

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
Zrušit
Autor

Thank You Anagha

Nejlepší odpověď

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
Zrušit

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

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

Related Posts Odpovědi Zobrazení Aktivita
2
zář 25
1737
1
kvě 25
1375
0
led 25
1094
4
čvc 25
17626
1
čvn 25
593