Am Montag, den 29.03.2021, 11:07 -0700 schrieb eric....@gmail.com: > Please make sure you have the correct access rights > and the repository exists.
Oh, yes, forgot that: On the host(s) that does/do the cloning, you need to either * connect to g...@github.com once per SSH on the console and as the user who runs Jenkins, to add the GH host key to that users known_hosts file, or * add a host block to that users ~/.ssh/config file like:host github Hostname github.com User git IdentityFile ~/.ssh/my_github_key ServerAliveInterval 15 StrictHostKeyChecking no In the second case, you also don't need to store the credentials in Jenkins, since you can use the alias "github" directly in your URLs, like "github:path/to/repo" (instead of "g...@github.com:..."). If you're reluctant to skip host key verification, you can also omit the last line and combine the two methods. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com Website: www.recommind.de Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/326bd980bf6fb0c452acc3581fbdda80ec870166.camel%40opentext.com.
signature.asc
Description: This is a digitally signed message part