File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
eng/common/pipelines/templates Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -248,11 +248,7 @@ extends:
248
248
jobs :
249
249
- job : Initialize
250
250
steps :
251
- - template : /eng/common/pipelines/templates/steps/sparse-checkout.yml
252
- parameters :
253
- Paths :
254
- - " /*"
255
- - " !SessionRecords"
251
+ - checkout : self
256
252
257
253
- task : UseNode@1
258
254
displayName : ' Install Node.js'
@@ -325,15 +321,12 @@ extends:
325
321
matrixArtifactsPath : $(Pipeline.Workspace)/matrix_artifacts
326
322
AzureSdkRepoName : $[format('azure-sdk/{0}', split(variables['Build.Repository.Name'], '/')[1])]
327
323
steps :
328
- - template : /eng/common/pipelines/templates/steps/sparse-checkout.yml
329
- parameters :
330
- Paths :
331
- - " /*"
332
- - " !SessionRecords"
333
- Repositories :
334
- - Name : $(AzureSdkRepoName)
335
- Commitish : $(branchName)
336
- WorkingDirectory : $(System.DefaultWorkingDirectory)
324
+ - checkout : self
325
+ - pwsh : |
326
+ git remote add azure-sdk https://github.com/$(AzureSdkRepoName).git
327
+ git fetch azure-sdk $(branchName)
328
+ git switch $(branchName)
329
+ displayName: 'Checkout PR branch $(branchName)'
337
330
338
331
- task : UseNode@1
339
332
displayName : ' Install Node.js'
You can’t perform that action at this time.
0 commit comments