You're using an scp / ssh connection, but seem to be hinting that you may be using a username / password credential. If you're using an scp / ssh connection, then you need to use a private key credential.
If a username / password credential is required, then you'll need to use https to connect to the repository. Mark Waite On Wed, Jan 11, 2017 at 9:51 PM Sathish M <[email protected]> wrote: > Yeah okay, > In Github, > I have created an account in GitHub. > In Jenkins, > I added the needed Github plugins into my jenkins. And I added > the credentials for my GitHub account and also the api credentials. And I > tested the connection in manage jenkins->configuresystem. It succeeded. And > I created a new job & In general tab I checked the Github project & gave > the http link to my repo. > In SCM I gave the repo SSH link and the added the api credential. And I am > getting the error (I have attached that ) > > > <https://lh3.googleusercontent.com/-1dd28p9XQ2w/WHcLF92PoYI/AAAAAAAAAH8/Nk_FjWuU25oypgULw39dHfq3cskwju-cwCLcB/s1600/Capture.PNG> > > Please help me with this. > > > On Thursday, January 12, 2017 at 9:57:02 AM UTC+5:30, Ramanathan Muthaiah > wrote: > > On Wednesday, January 11, 2017 at 2:45:26 PM UTC+5:30, Sathish M wrote: > > I am new to Jenkins. I've been learning it by myself, as of now I know to > create a job & build it when my source code is in my local system. Now I am > trying to work the same from Jenkins. I've been trying it but I can't get > that. Can you help me to work here with Github. > > > Ram : There are plenty of resources on the Internet regd Jenkins > integration with GitHub. > > It will help if you can list what did you try and what did not work > including tool or plugin versions. > > /Ram > > -- > 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/0654cd37-0cd6-4273-97dd-6cc3037d00a5%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/0654cd37-0cd6-4273-97dd-6cc3037d00a5%40googlegroups.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/CAO49JtH-V%2Bu_G0rkLuG67Lp4-%2B8L0oyL4VkL8WDVHq%2Bq0yABhA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
