diff --git a/eng/pipelines/templates/variables/globals.yml b/eng/pipelines/templates/variables/globals.yml index 4d93f56619bbd..2fc4b96781d71 100644 --- a/eng/pipelines/templates/variables/globals.yml +++ b/eng/pipelines/templates/variables/globals.yml @@ -3,6 +3,7 @@ variables: DotNetCoreRuntimeVersion: '2.1.10' OfficialBuildId: $(Build.BuildNumber) skipComponentGovernanceDetection: true - BuildConfiguration: '' + ${{ if ne(variables['System.TeamProject'], 'internal') }}: + BuildConfiguration: '' ${{ if eq(variables['System.TeamProject'], 'internal') }}: BuildConfiguration: 'Release' \ No newline at end of file