Ive been trying all day with no luck
I have 2 pipelines,  and no matter what scenario I choose, they both fail 
the initial cloning of my repository.  This is leveraging the kubernetes 
plugin for elastic agents.


pipeline 1:
Materials is set to:
https://github.com/org/repo.git
branch master
username and password blank because I am leveraging .git-credentials file 
on go-server which has valid access token with basic oauth 
https://XXXXXXTokenXXXXXXX <https://xxxxxxxxxxxxxxxxxx/>:
[email protected]

I can perform a git clone on the go-server uder the go user with no problem 
so I know the connections works.
Error running pipeline :  *Cloning into '/go/pipelines/Common_Build'...*
*STDERR: fatal: could not read Username for 'https://github.com': No such 
device or addressFailed to run git clone command*

pipeline 2:
Materials is set to:
https://github.com/org/repo.git
branch master
Username and password are used and have full access to repo

I can perform a git clone on the go-server uder the go user with no problem 
so I know the connections works.

*Error running pipeline:*
*Cloning into '/go/pipelines/Common_Build'...STDERR: remote: Repository not 
found.STDERR: fatal: Authentication failed for 
'https://github.com/org/repo.git/'Failed to run git clone command*

Im really stuck no matter what I do.


-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" 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/go-cd/195deac8-b98b-4005-b9fd-f0f5baf459a1n%40googlegroups.com.

Reply via email to