File tree 3 files changed +9
-11
lines changed
pipelines/templates/steps
3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -128,12 +128,12 @@ steps:
128
128
129
129
echo "Updating the VMR from $repository / $commit..."
130
130
cd ..
131
- git clone $repository $commit
132
- cd $commit
131
+ git clone $repository ${{ assetName }}
132
+ cd ${{ assetName }}
133
133
git checkout $commit
134
134
git branch "sync/$commit"
135
135
136
- . /eng/vmr-sync.sh \
136
+ $(Agent.BuildDirectory)/sdk /eng/vmr-sync.sh \
137
137
--vmr ${{ parameters.vmrPath }} \
138
138
--tmp $(Agent.TempDirectory) \
139
139
--azdev-pat '$(dn-bot-all-orgs-code-r)' \
@@ -171,12 +171,12 @@ steps:
171
171
172
172
Write-Host "Updating the VMR from $repository / $commit..."
173
173
cd ..
174
- git clone $repository $commit
175
- cd $commit
174
+ git clone $repository ${{ assetName }}
175
+ cd ${{ assetName }}
176
176
git checkout $commit
177
177
git branch "sync/$commit"
178
178
179
- $(Agent.BuildDirectory)/ sdk/ eng/ vmr-sync.ps1 `
179
+ $(Agent.BuildDirectory)\ sdk\ eng\ vmr-sync.ps1 `
180
180
-vmr ${{ parameters.vmrPath }} `
181
181
-tmp $(Agent.TempDirectory) `
182
182
-azdevPat '$(dn-bot-all-orgs-code-r)' `
Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ param (
44
44
[switch ]$debugOutput
45
45
)
46
46
47
- $scriptRoot = $PSScriptRoot
48
-
49
47
function Fail {
50
48
Write-Host " > $ ( $args [0 ]) " - ForegroundColor ' Red'
51
49
}
@@ -103,7 +101,7 @@ Set-StrictMode -Version Latest
103
101
# Prepare darc
104
102
105
103
Highlight ' Installing .NET, preparing the tooling..'
106
- . $scriptRoot \common\tools.ps1
104
+ . .\eng \common\tools.ps1
107
105
$dotnetRoot = InitializeDotNetCli - install:$true
108
106
$dotnet = " $dotnetRoot \dotnet.exe"
109
107
& " $dotnet " tool restore
Original file line number Diff line number Diff line change @@ -162,9 +162,9 @@ set -e
162
162
# Prepare darc
163
163
164
164
highlight ' Installing .NET, preparing the tooling..'
165
- source " $scriptroot /common/tools.sh"
165
+ source " ./eng /common/tools.sh"
166
166
InitializeDotNetCli true
167
- dotnetDir=$( cd $scriptroot /. ./.dotnet/; pwd -P )
167
+ dotnetDir=$( cd ./.dotnet/; pwd -P )
168
168
dotnet=$dotnetDir /dotnet
169
169
" $dotnet " tool restore
170
170
You can’t perform that action at this time.
0 commit comments