Skip to content

Commit

Permalink
fix: look in temp
Browse files Browse the repository at this point in the history
  • Loading branch information
NVENTIVE\felix.brault committed Dec 5, 2023
1 parent 2f6dd32 commit b97e65f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/stage-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ steps:
projects: $(Build.SourcesDirectory)/$(SolutionFileName)
workingDirectory: $(Build.SourcesDirectory)
publishTestResults: false
arguments: '/p:configuration $(ApplicationConfiguration) /p:CollectCoverage true /p:CoverletOutputFormat cobertura /p:CoverletOutput $(Build.SourcesDirectory)/coverage /p:ExcludeByFile "**/*.g.cs" --logger trx --results-directory $(Build.SourcesDirectory)/coverage --no-build'
arguments: '--configuration $(ApplicationConfiguration) --CollectCoverage true --CoverletOutputFormat cobertura --CoverletOutput $(Build.SourcesDirectory)/coverage --ExcludeByFile "**/*.g.cs" --logger trx --results-directory $(Build.SourcesDirectory)/coverage --no-build'

- task: PublishTestResults@2
displayName: 'Publish test results'
Expand All @@ -88,7 +88,7 @@ steps:
condition: and(succeededOrFailed(), eq(variables['ApplicationPlatform'], 'NuGet'))
inputs:
codeCoverageTool: 'Cobertura'
summaryFileLocation: "$(Build.SourcesDirectory)/coverage.cobertura.xml"
summaryFileLocation: "$(Agent.TempDirectory)/*/coverage.cobertura.xml"

- task: PublishBuildArtifacts@1
displayName: 'Publish artifact $(ApplicationConfiguration)'
Expand Down

0 comments on commit b97e65f

Please sign in to comment.