Skip to content

Add devOps feed as dotnet install source#7207

Open
chidozieononiwu wants to merge 1 commit into
Azure:mainfrom
chidozieononiwu:net-iso-nuget
Open

Add devOps feed as dotnet install source#7207
chidozieononiwu wants to merge 1 commit into
Azure:mainfrom
chidozieononiwu:net-iso-nuget

Conversation

@chidozieononiwu

Copy link
Copy Markdown
Member

This pull request updates the CI and live test pipeline templates to ensure that the .NET coverage tool (dotnet-reportgenerator-globaltool) is installed from the Azure DevOps NuGet feed, improving reliability and consistency of tool installation in CI environments.

Pipeline environment variable additions:

  • Added a new environment variable DotNetDevOpsFeed in both ci.tests.yml and live.tests.yml to specify the Azure DevOps NuGet feed URL for .NET tools. [1] [2]

Coverage tool installation improvements:

  • Updated the installation steps for dotnet-reportgenerator-globaltool in both ci.tests.yml and live.tests.yml to use the --add-source "$(DotNetDevOpsFeed)" option, ensuring the tool is installed from the specified Azure DevOps feed. [1] [2]

Copilot AI review requested due to automatic review settings July 8, 2026 03:27
@chidozieononiwu chidozieononiwu self-assigned this Jul 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request updates the Azure Pipelines CI and live test job templates to install the .NET coverage report generator tool from the Azure DevOps public NuGet feed, aiming to make tool installation more consistent/reliable in pipeline environments.

Changes:

  • Introduces a DotNetDevOpsFeed pipeline variable in both CI and live test job templates.
  • Updates dotnet tool install commands for dotnet-reportgenerator-globaltool to include --add-source "$(DotNetDevOpsFeed)".

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
eng/pipelines/templates/jobs/live.tests.yml Adds DotNetDevOpsFeed and uses it when installing the reportgenerator global tool in live test jobs.
eng/pipelines/templates/jobs/ci.tests.yml Adds DotNetDevOpsFeed and uses it when installing the reportgenerator global tool in CI test jobs (coverage path).

Comment on lines +151 to +152
dotnet tool install -g --add-source "$(DotNetDevOpsFeed)" dotnet-reportgenerator-globaltool
dotnet tool install --add-source "$(DotNetDevOpsFeed)" dotnet-reportgenerator-globaltool --tool-path tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants