Open maufonfa opened 4 years ago
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]
[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.
@maufonfa are you still experiencing this issue? It would nice to see your yaml
I have configured the material via yaml file with username and encrypted_password (encrypted via API as suggested) but receiving the following error:
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.