diff --git a/eng/pipelines/common/global-build-job.yml b/eng/pipelines/common/global-build-job.yml index e9dfb4999d442..b5b8b47b66fb6 100644 --- a/eng/pipelines/common/global-build-job.yml +++ b/eng/pipelines/common/global-build-job.yml @@ -41,9 +41,9 @@ jobs: value: /p:CrossBuild=${{ ne(parameters.crossrootfsDir, '') }} - name: _officialBuildParameter - $ {{ if eq(parameters.isOfficialBuild, true) }}: + ${{ if eq(parameters.isOfficialBuild, true) }}: value: /p:OfficialBuildId=$(Build.BuildNumber) - $ {{ if ne(parameters.isOfficialBuild, true) }}: + ${{ if ne(parameters.isOfficialBuild, true) }}: value: '' - ${{ parameters.variables }}