Hi all, You may need to make sure you have a user name and login to your git repo and 1. login to github using your account. or create a access token in git hub and use the token which is the way i did it.
> On 23 Jan 2020, at 10:52, 'Björn Pedersen' via Jenkins Users > <[email protected]> wrote: > > HI, > > that is a hostkey verifiicaction error. Solution: > > a) manually install the hostkey on the build agent > b) configure ssh to skip hostkey verification (the more insecure option) > > Björn > > Am Dienstag, 21. Januar 2020 18:24:55 UTC+1 schrieb Ed of the Mountain: > What I Tried: > > 1) Set Source Code Management > GIT > Repository URL to: > > [email protected]:v3/acmeinc/my-app/my-app > > Failed to connect to repository : Command "git ls-remote -h -- > [email protected]:v3/acmeinc/my-app/my-app HEAD" returned > status code 128: > stdout: > stderr: Host key verification failed. > fatal: Could not read from remote repository. > > Work-Around > > My work-around was to change job to use a bash shell. > > However, I very much miss the "Recent Changes" section that was displayed in > my job previously. > > I *think* the "Recent Changes" were generated from the GIT Plugin. > > > > echo "git clone using public SSH key of build slave..." > echo "Works but no 'Recent Changes' section for your job" > git clone [email protected]:v3/acmeinc/my-app/my-app . > > Thanks in advance for any tips or suggestions, > > -Ed > > > > > -- > 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/ce6ffb2d-5c40-479e-9fc8-fffdba4d5e1e%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-users/ce6ffb2d-5c40-479e-9fc8-fffdba4d5e1e%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0A4E7BB0-82F4-4B9B-ADBE-FBDA96B51FC3%40dns-direct.com.
