azure-sdk-for-cpp/eng/pipelines/templates/variables/globals.yml

8 lines
381 B
YAML

variables:
# True if 'Enable system diagnostics' is checked when running a pipeline manually
IsDebug: $[coalesce(variables['System.Debug'], 'false')]
${{ if and(eq(variables['Build.Reason'],'PullRequest'), eq(variables['System.PullRequest.IsFork'], 'True')) }}:
# Disable warning for tools that are disabled for forked builds
GDN_SUPPRESS_FORKED_BUILD_WARNING: true