Hi, Thanks for your reply. I gave the url as serverip:path to repository, The username is given as the user of the remote server to which to do SSH. I have created a private key for the user which I am logged in into the jenkins server. I am copying the private key directly and also the passphrase. Still I am not able to clone from the repository. Please let me know if I am doing something wrong. Note. Jenkins is running behind tomcat. (I deploy jenkins through tomcat). Regards, Archana Srichandan
On Thu, Jan 31, 2019 at 8:58 PM Mark Waite <[email protected]> wrote: > Did you assign a private key credential to that job? A username.password > credential won't work with an SSH URL. A private key credential won't work > with an http or https URL. > > If the private key has a passphrase, did you provide the passphrase when > defining the credential in Jenkins? > > Did you confirm that the private key will authenticate from the command > line? > > Mark Waite > > On Tue, Jan 29, 2019 at 3:17 PM <[email protected]> wrote: > >> Hi All, >> >> I am not able to run my git repo on Jenkins ,attach is the screen shot >> for your reference. >> >> Regards, >> Archana Srichandan >> >> -- >> 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/50dd7ccf-9ad6-45e3-a5fc-9cee050a7737%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/50dd7ccf-9ad6-45e3-a5fc-9cee050a7737%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Thanks! > Mark Waite > > -- > 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/CAO49JtGvL%3DxHGju7a%2BbGvVd7Bhs7gvhr09Qd%3Dr3zkY1OOs2DhA%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtGvL%3DxHGju7a%2BbGvVd7Bhs7gvhr09Qd%3Dr3zkY1OOs2DhA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BU8sbXkPabE0ZqNTq_iur%3DRGjmm6MeaYdzXgRPCNMsqfheS_A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
