Closed whatisthejava closed 4 years ago
Do you use a (multi-stage) YAML pipeline? If so I have noticed the same thing #32
And no, you shouldn't need to publish the report as an artifact.
I'm getting the same thing in Azure DevOps when using dotnet core 3.1 with dotnet-stryker installed as local tool in the test project. This is my yaml code:
- script: dotnet tool restore
workingDirectory: 'tests/domain/Company.Product.Domain.Tests.Unit'
displayName: 'Install dotnet tools for Stryker.CLI'
- script: dotnet tool run dotnet-stryker -tr dotnettest -r "['cleartext', 'html', 'progress']" --solution-path "../../../Company.Product.sln"
workingDirectory: 'tests/domain/Company.Product.Domain.Tests.Unit'
displayName: 'Run Stryker on solution'
- task: PublishMutationReport@0
inputs:
reportPattern: '$(Build.SourcesDirectory)/tests/domain/Company.Product.Domain.Tests.Unit/StrykerOutput/*/reports/mutation-report.html'
This is a single job pipeline so isn't multi-stage.
@whatisthejava @robertlarkins
A new version is released soon which should fix this problem
Hi, followed the instructions as outlined on the blog and installed the plug in but my build is reporting 0 artifacts
Have a run stryker task
steps:
This works and logs as expected
Second task steps:
The publish tasks completes without error but no artifact is created and no extra tab displays. Do i also need to publish this artifact as a final step
Thanks