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 


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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to