azure-pipelines-tasks

Azure Pipeline - Use variable set in template task as a parameter in another template task

…衆ロ難τιáo~ 提交于 2021-02-04 21:46:20
问题 I have two templates created -- one for getting and setting some configurations such as region names and one for deploying. I'm trying to use the variables set in the configuration template task as parameter inputs to the deploy template. Is there an actual way of doing this? My config template: steps: - task: AzureCLI@2 name: Config displayName: Get Config and Generate Variables inputs: azureSubscription: '$(Subscription)' scriptType: bash scriptLocation: inlineScript inlineScript: |

How to generate code coverage report for asp.net unit tests in Azure DevOps build

吃可爱长大的小学妹 提交于 2019-12-21 05:21:23
问题 I need guidance in generating code coverage report of Asp.net unit tests in azure build pipeline. My project is based on .Net Framework 4.6. I am able to run all the unit tests using "visual studio test" task. I tried the "report generator" task, but it require cobertura or jacoco etc xml files, which am unable to generate in the build pipeline. Expectation - I want to get code coverage report for the runned unit tests which will show complete information like the lines coverage, branch