diff --git a/eng/pipelines/templates/pipeline.yml b/eng/pipelines/templates/pipeline.yml index 927bc89c531..60b5be20519 100644 --- a/eng/pipelines/templates/pipeline.yml +++ b/eng/pipelines/templates/pipeline.yml @@ -84,7 +84,7 @@ stages: LclSource: lclFilesfromPackage LclPackageId: 'LCL-JUNO-PROD-NuGetClient' MirrorRepo: 'NuGet.Client' - MirrorBranch: $[ variables['SourceBranch'] ] + MirrorBranch: ${{ replace(variables['Build.SourceBranch'], 'refs/heads/', '') }} GitHubOrg: 'NuGet' - stage: StaticSourceAnalysis