You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a space in the project name of our Azure Devops project, which is causing a problem with cloning the repo to the box running Atlantis.
From the Atlantis output:
2020/06/11 19:38:26-0600 [EROR] nait-its/Azure Deployment/terraform#28: Running git clone --branch RobTest --depth=1 --single-branch https://:@dev.azure.com/nait-its/Azure Deployment/_git/terraform /home/rob/.atlantis/repos/nait-its/Azure Deployment/terraform/28/default: Cloning into '/home/rob/.atlantis/repos/nait-its/Azure Deployment/terraform/28/default'...
fatal: unable to access 'https://:@dev.azure.com/nait-its/Azure Deployment/_git/terraform/': The requested URL returned error: 400
Taking that git clone command and running it manually in another terminal results in the identical error:
$ git clone --branch RobTest --depth=1 --single-branch 'https://@dev.azure.com/NAIT-ITS/Azure Deployment/_git/terraform' test
Cloning into 'test'...
fatal: unable to access 'https://@dev.azure.com/NAIT-ITS/Azure Deployment/_git/terraform/': The requested URL returned error: 400
But by manually url-encoding the url, the clone works fine:
$ git clone --branch RobTest --depth=1 --single-branch 'https://@dev.azure.com/NAIT-ITS/Azure%20Deployment/_git/terraform' test
Cloning into 'test'...
remote: Azure Repos
remote: Found 110 objects to send. (98 ms)
Receiving objects: 100% (110/110), 35.79 KiB | 11.93 MiB/s, done.
Resolving deltas: 100% (8/8), done.
The text was updated successfully, but these errors were encountered:
Thanks for the report, @Cova! I should have some time to start reviewing this and the other recent Azure Devops issues later this week or early next week.
We have a space in the project name of our Azure Devops project, which is causing a problem with cloning the repo to the box running Atlantis.
From the Atlantis output:
2020/06/11 19:38:26-0600 [EROR] nait-its/Azure Deployment/terraform#28: Running git clone --branch RobTest --depth=1 --single-branch https://:@dev.azure.com/nait-its/Azure Deployment/_git/terraform /home/rob/.atlantis/repos/nait-its/Azure Deployment/terraform/28/default: Cloning into '/home/rob/.atlantis/repos/nait-its/Azure Deployment/terraform/28/default'...
fatal: unable to access 'https://:@dev.azure.com/nait-its/Azure Deployment/_git/terraform/': The requested URL returned error: 400
Taking that git clone command and running it manually in another terminal results in the identical error:
$ git clone --branch RobTest --depth=1 --single-branch 'https://@dev.azure.com/NAIT-ITS/Azure Deployment/_git/terraform' test
Cloning into 'test'...
fatal: unable to access 'https://@dev.azure.com/NAIT-ITS/Azure Deployment/_git/terraform/': The requested URL returned error: 400
But by manually url-encoding the url, the clone works fine:
$ git clone --branch RobTest --depth=1 --single-branch 'https://@dev.azure.com/NAIT-ITS/Azure%20Deployment/_git/terraform' test
Cloning into 'test'...
remote: Azure Repos
remote: Found 110 objects to send. (98 ms)
Receiving objects: 100% (110/110), 35.79 KiB | 11.93 MiB/s, done.
Resolving deltas: 100% (8/8), done.
The text was updated successfully, but these errors were encountered: