Skip to content

Commit 9e6c455

Browse files
committed
Work CD-CI
- Further attempt to fix exception. ***NO_CI*** Signed-off-by: josesimoes <[email protected]>
1 parent c8a547a commit 9e6c455

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,15 @@ jobs:
5757
5858
cd "$env:Agent_TempDirectory" > $null
5959
60-
Write-Host "Init clone from: $env:BUILD_REPOSITORY_URI"
60+
Write-Host "Cloning from: $env:BUILD_REPOSITORY_URI"
6161
62-
git init "$env:Agent_TempDirectory\repo"
62+
git clone $env:BUILD_REPOSITORY_URI repo
6363
cd repo > $null
64-
git remote add origin "$env:BUILD_REPOSITORY_URI"
6564
git config --global gc.auto 0
6665
git config --global user.name nfbot
6766
git config --global user.email [email protected]
6867
git config --global core.autocrlf true
69-
git -c http.extraheader="AUTHORIZATION: $auth" fetch --prune --all --progress --verbose
70-
71-
Write-Host dir
72-
68+
git
7369
Write-Host "Checkout develop branch..."
7470
git checkout develop > $null
7571

0 commit comments

Comments
 (0)