The syntax which allows embedding user name and password into the URL seems
to be https.  I run tests of the git client plugin with this as a sample
URL:

https://MarkEWaite:[email protected]/MarkEWaite/git-client-plugin.git

I also have a job in my test kit which uses a username / password
credential (entered through the Jenkins credentials system) which reads
from a remote repository using ssh protocol with the username / password
pair specified in the credential.


Unfortunately, all that does it hint that it works for me.  I don't have
any way of telling you what to change to make it work for you.  Sorry.

Mark Waite

On Wed, Apr 29, 2015 at 8:36 PM Ken Keefe <[email protected]> wrote:

> I tried embedding the username and not embedding the username. Both result
> in the exact same error. Is there a way to embed the password too?
>
> Ken
>
> On Wed, Apr 29, 2015 at 8:51 PM, Mark Waite <[email protected]>
> wrote:
>
>> If you embed the user name and the password into the SSH url, does it
>> succeed from within the Jenkins job?
>>
>> On Wed, Apr 29, 2015 at 3:31 PM Ken Keefe <[email protected]> wrote:
>>
>>> I am trying to get my first Jenkins install up and running. I have set
>>> up a ubuntu 14.04 dumb slave. I am trying to get the slave to simply clone
>>> a git repo from an SSH server as a starting point. Unfortunately it keeps
>>> failing. Here is a pastebin of the job's log:
>>> http://pastebin.com/2LVkaQcG
>>>
>>> What is frustrating is that I can ssh into the slave machine as my
>>> jenkins user. cd to the workspace directory with the local repo and execute
>>> line 8 and it prompts me for my password and works correctly. I can't
>>> figure out why the error starting on line 9 is happening. I am using a
>>> username/password credential to access the git repo.
>>>
>>> --
>>> 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/110cd0ef-36b4-4e07-b4fb-f31a4130cc99%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/110cd0ef-36b4-4e07-b4fb-f31a4130cc99%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/CAO49JtH0359EPHHY2pQ9SnF_FS3TR2FxxJ%3DkJBp%3DNaXEZCKYEg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtH0359EPHHY2pQ9SnF_FS3TR2FxxJ%3DkJBp%3DNaXEZCKYEg%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/CABfgb30aMAFO-DFr3SB7TLCNGem2EoVa6MpsASHeqLYtCg0E9w%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CABfgb30aMAFO-DFr3SB7TLCNGem2EoVa6MpsASHeqLYtCg0E9w%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/CAO49JtFqN09%2BVZdodSMye_qv-BGUqef9udKm28pL2Z0i8eC8WA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to