diff --git a/docs/pipelines/tasks/build/dotnet-core-cli.md b/docs/pipelines/tasks/build/dotnet-core-cli.md index a818868e1ca..f2c14f558c3 100644 --- a/docs/pipelines/tasks/build/dotnet-core-cli.md +++ b/docs/pipelines/tasks/build/dotnet-core-cli.md @@ -70,7 +70,7 @@ If you choose 'Use the build number', this will use the build number to publishWebProjects
Publish Web ProjectsIf true, the projects property value will be skipped and the task will try to find the web projects in the repository and run the publish command on them. Web projects are identified by presence of either a web.config file or wwwroot folder in the directory. In the absence of a web.config file or wwwroot folder, projects that use a web SDK, like Microsoft.NET.Sdk.Web, are selected. Note that this argument defaults to true if not specified. zipAfterPublish
Zip Published ProjectsIf true, folder created by the publish command will be zipped and deleted. modifyOutputPath
Add project name to publish pathIf true, folders created by the publish command will have project file name prefixed to their folder names when output path is specified explicitly in arguments. This is useful if you want to publish multiple projects to the same folder. -publishTestResults
Publish test resultsEnabling this option will generate a test results TRX file in $(Agent.TempDirectory) and results will be published to the server.
This option appends --logger trx --results-directory $(Agent.TempDirectory) to the command line arguments.
Code coverage can be collected by adding --collect "Code coverage" to the command line arguments. This is currently only available on the Windows platform. +publishTestResults
Publish test resultsEnabling this option will generate a test results TRX file in $(Agent.TempDirectory) and results will be published to the server.
This option appends --logger trx --results-directory $(Agent.TempDirectory) to the command line arguments.
Code coverage can be collected by adding --collect "Code coverage" to the command line arguments. testRunTitle
Test run titleProvides a name for the test run custom
Custom commandThe command to pass to dotnet.exe for execution.
For a full list of available commands, see the dotnet CLI documentation feedRestore
Use packages from this Azure Artifacts/TFS feedInclude the selected feed in the generated NuGet.config. You must have Package Management installed and licensed to select a feed here. projectName/feedName for project-scoped feed. FeedName only for organization-scoped feed. Note that this is not supported for the test command.
Argument aliases: vstsFeed @@ -247,4 +247,4 @@ The latest .NET Core: 3.0 does not have Entity Framework(EF) built in. You will ## Open Source -This task is open source [on GitHub](https://github.com/Microsoft/azure-pipelines-tasks). Feedback and contributions are welcome. \ No newline at end of file +This task is open source [on GitHub](https://github.com/Microsoft/azure-pipelines-tasks). Feedback and contributions are welcome.