Skip to content

Commit 52a4a34

Browse files
Support branch name with space in create review step (Azure#46763)
Co-authored-by: Praveen Kuttappan <[email protected]>
1 parent fc7b3ae commit 52a4a34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

eng/common/pipelines/templates/steps/create-apireview.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ steps:
2323
filePath: ${{ parameters.SourceRootPath }}/eng/common/scripts/Create-APIReview.ps1
2424
arguments: >
2525
-ArtifactList ('${{ convertToJson(parameters.Artifacts) }}' | ConvertFrom-Json | Select-Object Name)
26-
-ArtifactPath ${{parameters.ArtifactPath}}
26+
-ArtifactPath '${{parameters.ArtifactPath}}'
2727
-ArtifactName ${{ parameters.ArtifactName }}
28-
-APIKey $(azuresdk-apiview-apikey)
28+
-APIKey '$(azuresdk-apiview-apikey)'
2929
-PackageName '${{parameters.PackageName}}'
30-
-SourceBranch $(Build.SourceBranchName)
31-
-DefaultBranch $(DefaultBranch)
30+
-SourceBranch '$(Build.SourceBranchName)'
31+
-DefaultBranch '$(DefaultBranch)'
3232
-ConfigFileDir '${{parameters.ConfigFileDir}}'
33-
-BuildId $(Build.BuildId)
33+
-BuildId '$(Build.BuildId)'
3434
-RepoName '$(Build.Repository.Name)'
3535
-MarkPackageAsShipped $${{parameters.MarkPackageAsShipped}}
3636
pwsh: true

0 commit comments

Comments
 (0)