Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Run MSBuild in parallel when submitting jobs to Helix #21390

Merged
merged 3 commits into from
Dec 6, 2018
Merged

Run MSBuild in parallel when submitting jobs to Helix #21390

merged 3 commits into from
Dec 6, 2018

Conversation

echesakov
Copy link

@echesakov echesakov commented Dec 5, 2018

Don't use MSBuild task batching when submitting jobs to Helix since then the submission (and waiting for the job to compete) will be done sequentially.

Instead, create a collection of items ProjectsToBuild with specified Properties which will be treated as different project by MSBuild.

Also we need to specify -maxcpucount command line argument so MSBuild will use up to the number of processors on the agent.

Also specify StopOnFirstFailure="false" so the single failure would not cause the whole test step to fail.

Testing in https://dnceng.visualstudio.com/public/_build/results?buildId=53478

@echesakov echesakov changed the title [WIP] Run MSBuild In Parallel during submission jobs to Helix [WIP] Run MSBuild in parallel when submitting jobs to Helix Dec 5, 2018
@echesakov echesakov changed the title [WIP] Run MSBuild in parallel when submitting jobs to Helix Run MSBuild in parallel when submitting jobs to Helix Dec 6, 2018
Copy link
Member

@sbomer sbomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

@echesakov echesakov merged commit 2161d9d into dotnet:master Dec 6, 2018
@echesakov echesakov deleted the RunMSBuildInParallel branch December 6, 2018 18:22
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants