Update comment

This commit is contained in:
MaksimZhukov
2020-02-21 10:30:54 +03:00
parent aa4c025a44
commit 883c1e3253

View File

@@ -14,8 +14,8 @@ jobs:
script: |
Remove-Item -path './*' -Recurse -Force
Write-Host "Download $(CUSTOM_REPOSITORY_BRANCH) branch from $(CUSTOM_REPOSITORY_URL)"
# git in powershell sometimes broke the AzDO pipelines with incorrect stdout interpretation
# we redirect the git output to stdout manually to avoid this issue.
# git on self-hosted agent produces some output to stderr even during successful cloning
# use cmd output redirect to overcome it
cmd /c "git clone $(CUSTOM_REPOSITORY_URL) . -b $(CUSTOM_REPOSITORY_BRANCH) --single-branch --depth 1 2>&1"
- task: PowerShell@2