File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ steps:
2626 sonar.cs.opencover.reportsPaths=coverage.xml
2727 sonar.verbose=true
2828
29+
30+ - task : CmdLine@2
31+ inputs :
32+ script : dotnet restore
33+ displayName : ' Rodando dotnet restore'
34+
2935- task : CmdLine@2
3036 inputs :
3137 script : dotnet build --no-incremental
@@ -60,11 +66,11 @@ steps:
6066# reporttypes: 'SonarQube'
6167# assemblyfilters: '-xunit\*'
6268
63- # - task: PublishCodeCoverageResults@1
64- # displayName: 'Publish code coverage from $(Build.SourcesDirectory)/reports/ coverage.cobertura .xml'
65- # inputs:
66- # codeCoverageTool: Cobertura
67- # summaryFileLocation: '$(Build.SourcesDirectory)/reports/Cobertura .xml'
69+ - task : PublishCodeCoverageResults@1
70+ displayName : ' Publish code coverage from $(Build.SourcesDirectory)/coverage.xml'
71+ inputs :
72+ codeCoverageTool : Cobertura
73+ summaryFileLocation : ' $(Build.SourcesDirectory)/coverage .xml'
6874
6975- task : SonarSource.sonarcloud.ce096e50-6155-4de8-8800-4221aaeed4a1.SonarCloudAnalyze@1
7076 displayName : ' Run Code Analysis'
You can’t perform that action at this time.
0 commit comments