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:
248248        jobs :
249249        - job : Initialize 
250250          steps :
251-           - template : /eng/common/pipelines/templates/steps/sparse-checkout.yml 
252-             parameters :
253-               Paths :
254-               - " /*" 
255-               - " !SessionRecords" 
251+           - checkout : self 
256252
257253          - task : UseNode@1 
258254            displayName : ' Install Node.js' 
@@ -325,15 +321,12 @@ extends:
325321            matrixArtifactsPath : $(Pipeline.Workspace)/matrix_artifacts 
326322            AzureSdkRepoName : $[format('azure-sdk/{0}', split(variables['Build.Repository.Name'], '/')[1])] 
327323          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)'   
337330
338331           - task : UseNode@1 
339332            displayName : ' Install Node.js' 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments