Hello,

I have one master node and a slave node I run my Jenkins jobs unto and I 
encountered a problem recently. I am unable to checkout a repository from 
Git on my slave through a Jenkins pipeline. Locally, checking out a branch 
on my repository works fine, cloning, pushing, pulling, everything works. 
But if I try to do the same operations through a Jenkins pipeline, the 
stage at which I clone my repo fails with "Could not checkout branch: 
[branch] with start point [start point]". This is the command I clone my 
repo with: git branch: '**', credentialsId: '[credential]', url: 
'repo_link' . I use a global credential, which makes me think this is not a 
credential problem, but something else that I am not aware of right now. 

I don't know what to try, I have not found anything on the internet either. 
Maybe someone here can help me/give me a hint, I'd greatly appreciate as I 
am a newbie in working with Jenkins.

Have a good day, and thank-you in advance.

-- 
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/8b10b274-ea96-45e1-b86b-468eaefc4bf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to