Hi Stephen, Yes I have tried both the options before. Sorry I should have mentioned this earlier.
1. When I tried to use "username with password" credential (I am using my google account details) it still gives me 401 error Failed to connect to repository : Failed to connect to https://source.developers.google.com/p/strange-bay-617/r/default using credentials (status = 401) 2. I am not using ssh public key to connect to google source code because it uses *gcloud auth *for authentication. On Sun, Jun 22, 2014 at 12:02 AM, Stephen Connolly < [email protected]> wrote: > > Have you even tried my suggestion? > > > On Saturday, 21 June 2014, Ashish Khedekar <[email protected]> > wrote: > >> Thanks for the reply, >> >> but I am using git provided by google app engine. is there any other >> plugin or "Source code Management" option I need to use for that? >> >> Ashish >> >> >> >> >> On Sat, Jun 21, 2014 at 9:54 PM, Stephen Connolly < >> [email protected]> wrote: >> >>> The Git plugin expects either SSH credentials or Username+Password >>> credentials. You have added a different type of credential, so it will not >>> show up >>> >>> >>> On 21 June 2014 16:41, Jenkins novice user <[email protected]> >>> wrote: >>> >>>> I am trying to use git as Source Code Management in jenkins. Since I >>>> am using git provided by google, I am using "Google Service Account from >>>> private key" credential to setup git. >>>> >>>> I added that credentials at the top level into global credentials. >>>> However when I create new item to setup my project, and select git as my >>>> "Source Code Management" I do not see my credentials in the dropdown. >>>> >>>> >>>> <https://lh6.googleusercontent.com/-R0M5c6osQaE/U6WnkwBl-xI/AAAAAAAAMdg/qxAJ2Y2aRXo/s1600/Screen+Shot+2014-06-21+at+16.39.46.png> >>>> >>>> >>>> <https://lh3.googleusercontent.com/-40wsC75YGiE/U6WnhENZMlI/AAAAAAAAMdY/pyDrdfQwSqw/s1600/Screen+Shot+2014-06-21+at+16.40.21.png> >>>> >>>> >>>> There is an option to add new credential on the same page, but when I >>>> add it, I still can not see it in the dropdown. What am I missing? >>>> >>>> -- >>>> 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]. >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Jenkins Users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/jenkinsci-users/vOmnkDtEfaw/unsubscribe >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Ashish Khedekar. >> >> -- >> 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]. >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Sent from my phone > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/vOmnkDtEfaw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Ashish Khedekar. -- 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]. For more options, visit https://groups.google.com/d/optout.
