The requested page is not available for the requested platform. You are viewing the content for Default platform.

Configure on a Connected Azure DevOps Server

  1. Click the Azure DevOps logo to open the Projects page.

AzureLogo

  1. Select your existing project and click the Pipelines icon.

PipelinesICon

  1. Create a new pipeline.

BuildPipelines

  1. Select your repository and click Continue.

Repository

  1. Select a template.

Template

  1. Select the Hosted VS2017 default agent pool.

Template

Note

You can use a self-hosted build agent. The CodeRush Analyze task requires you install the Visual Studio Build Tools on a build agent. When installing Visual Studio Build Tools, make sure you select the ".NET Core build tools" item in a list of toolsets to be installed.
The Code Coverage feature requires installation of Microsoft Visual C++ 2015 Redistributable.

  1. Select the Build solution task and click plus sign (+) on the Agent job 1 to add a new task after the Build solution task in the build pipeline.

Task

  1. Add the CodeRush Analyze task after the Build solution task in the build pipeline.

AnalyzeTask

  1. Leave the CodeRush Analyze task's configuration set to "Debug" (or set to another configuration that can be used to run unit tests).

LeaveDebug

  1. Assign the "debug" value to the BuildConfiguration option on the Variables tab.

Conf

  1. Select Save & queue to invoke the save dialog.

SaveQueue

  1. Click Save & queue in the dialog to save the build pipeline and build the solution.

SavePipeline

  1. You see a link to the new build on the top of the Pipelines page. Click the link to watch the new build as it happens.

BuildStarted

  1. Click CodeRush to view analysis results on Dashboard, Tests, Coverage, and Diagnostics views after building the solution.

Dashboard