cds icon indicating copy to clipboard operation
cds copied to clipboard

gitlab clone with https basic auth doesnt work

Open thesn10 opened this issue 3 years ago • 0 comments

CheckoutApplication
[INFO] Starting step "CheckoutApplication"
[INFO] Executing: git clone --depth 50 --branch master --recursive...  

Executing: git reset --hard f176bbcbdba63dbebd76e3sdc44346962b60f64a
[WARN] Cloning into '/app/hatchery-local/5f033981b0245d4e/130378c623fe9aegt67d100a13b5416f/run'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://root:@gitlab.example.com/my-app/my-app.git/'
[ERROR] Unable to git clone: Command fail: 128
[INFO] End of step "CheckoutApplication"

Notice how https://root:@gitlab.example.com/my-app/my-app.git/ only contains the username root but after the colon, does not contain the password i specified. This is a bug.

thesn10 avatar Jun 13 '21 22:06 thesn10