Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private Github Repository material failing - Not recognizing username nor encrypted password attributes #141

Open
maufonfa opened this issue Jul 1, 2020 · 1 comment
Labels
waiting Waiting for reply

Comments

@maufonfa
Copy link

maufonfa commented Jul 1, 2020

I have configured the material via yaml file with username and encrypted_password (encrypted via API as suggested) but receiving the following error:

[go] Start to prepare pipeline/build on agent [/var/lib/go-agent]
[go] Start to update materials.

[go] Start updating files at revision XXX from https://github.repo.com/repo.git
[GIT] Fetching changes
STDERR: fatal: could not read Username for 'https://github.repo.com': No such device or address
git fetch failed for [https://github.repo.com/repo.git]

If I use https://username:password@url format it works but will make my password visible in the gocd.yaml, and I'm storing my files in a Github repo :(

My GOCD version is 20.1.0 and plugin version is 0.12.0 which came bundled with GOCD.

@tomzo
Copy link
Owner

tomzo commented Sep 13, 2020

@maufonfa are you still experiencing this issue? It would nice to see your yaml

@tomzo tomzo added the waiting Waiting for reply label Sep 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting Waiting for reply
Projects
None yet
Development

No branches or pull requests

2 participants