Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .azure-pipelines/ultimate-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ variables:
isMainBranch: $[in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/main')]
isMainOrReleaseBranch: $[or(in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/hotfix/'))]
isPullRequest: $[eq(variables['Build.Reason'], 'PullRequest')]
# Run code coverage on main branches only, on scheduled build only
runCodeCoverage: $[or(eq(variables['run_code_coverage'], 'true'), and(eq(variables['Build.Reason'], 'Schedule'), or(in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/hotfix/'))))]
# Only run code coverage when requested
# Coverlet relies on IL rewriting, which currently breaks tests which explictly check the IL
runCodeCoverage: $[eq(variables['run_code_coverage'], 'true')]
DD_DOTNET_TRACER_MSBUILD:
NugetPackageDirectory: $(System.DefaultWorkingDirectory)/packages
relativeNugetPackageDirectory: packages
Expand Down