Hi,

I am trying to use git from a pipeline. For this I want to invoke git 
commands using "sh":

    sh('git clone https://myserver/project.git')

Some things I want to do require authentication.

When I use the GitSCM plugin (checkout([$class: 'GitSCM', ...), it tells me 
it uses GIT_ASKPASS for credentials.

Can I do that too? How would I have to configure GIT_ASKPASS for this to 
work?

Thanks!
Nathan

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2606c88b-7d66-49e6-9116-4c860230a4c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to