Skip to content

Commit 587833c

Browse files
committed
filter 2
1 parent 78fc77d commit 587833c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.azure-pipelines/batch-generation.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ jobs:
165165
git commit -m "Apply matrix job patches to ${{ variables.GenerationBranch }}"
166166
git push origin "${{ variables.GenerationBranch }}"
167167
168-
git checkout $(Build.SourceBranch)
168+
$sourceBranchName = "$(Build.SourceBranch)".Replace('refs/heads/', '')
169+
git checkout $sourceBranchName
169170
170171
$filterModulesPath = Join-Path "$(Build.SourcesDirectory)" '.azure-pipelines' 'PipelineSteps' 'BatchGeneration' 'filter.ps1'
171172
& $filterModulesPath -MaxParallelJobs "${{ variables.MaxParalleAnalyzeJobs }}"

0 commit comments

Comments
 (0)