From 4f150eaf1ca9ccab35bc1a057f73e7bc512b15ce Mon Sep 17 00:00:00 2001 From: Praven Kuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Wed, 23 Oct 2024 13:06:08 -0400 Subject: [PATCH] Support branch name with space in create review step (#9235) --- .../pipelines/templates/steps/create-apireview.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/common/pipelines/templates/steps/create-apireview.yml b/eng/common/pipelines/templates/steps/create-apireview.yml index 36b7635be62..124e027308f 100644 --- a/eng/common/pipelines/templates/steps/create-apireview.yml +++ b/eng/common/pipelines/templates/steps/create-apireview.yml @@ -23,14 +23,14 @@ steps: filePath: ${{ parameters.SourceRootPath }}/eng/common/scripts/Create-APIReview.ps1 arguments: > -ArtifactList ('${{ convertToJson(parameters.Artifacts) }}' | ConvertFrom-Json | Select-Object Name) - -ArtifactPath ${{parameters.ArtifactPath}} + -ArtifactPath '${{parameters.ArtifactPath}}' -ArtifactName ${{ parameters.ArtifactName }} - -APIKey $(azuresdk-apiview-apikey) + -APIKey '$(azuresdk-apiview-apikey)' -PackageName '${{parameters.PackageName}}' - -SourceBranch $(Build.SourceBranchName) - -DefaultBranch $(DefaultBranch) + -SourceBranch '$(Build.SourceBranchName)' + -DefaultBranch '$(DefaultBranch)' -ConfigFileDir '${{parameters.ConfigFileDir}}' - -BuildId $(Build.BuildId) + -BuildId '$(Build.BuildId)' -RepoName '$(Build.Repository.Name)' -MarkPackageAsShipped $${{parameters.MarkPackageAsShipped}} pwsh: true