From 19bb2a5131601ed4d3dac12be00e7c401f11b1e0 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Tue, 9 Jun 2020 13:59:26 -0700 Subject: [PATCH] Fix global-build official build arg evaluation (#37665) --- eng/pipelines/common/global-build-job.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}