Open linus66 opened 6 days ago
Hi @linus66, thank you for the feedback, we will take a look
Getting the same here. Every dotnet task in a pipeline is throwing this warning now... each pipeline ends up with dozens of warnings... Please let me know if you need more info (aside from what's already in the original post). Thanks
+1. It's a novelty in version 2.245.1
which wasn't in version 2.242.1
ADO account: msazure/One
This is good fun with a Build Quality Checks task checking that Warnings haven't increased!
Same here.. plenty of warnings and also sonar is showing more warnings without any details about it.
For now, i m running as below which seems fine.
- task: DotNetCoreCLI@2.242.1
This is good fun with a Build Quality Checks task checking that Warnings haven't increased!
Exactly what I'm dealing with right now.
- task: DotNetCoreCLI@2.242.1
I think it's a very good workaround for now. Looking forward to something permanent.
Thanks to @ReneSchumacher, here's how to temporarily ignore the warnings in the quality check task:
- task: BuildQualityChecks@9
displayName: 'Check build quality'
inputs:
addAttachment: false
checkWarnings: true
warningThreshold: 0
warningExclusions: |
/\[warning\]Resource file has already set to/i
After spending a chunk of time implementing this on all our pipelines, the workaround works for us too.
I think this bug needs a little more urgency as it is blocking anybody using build quality checks. Is it worth considering rolling it back perhaps?
By any chance, has this newer version of the task introduced some kind of bug with the memory usage? Doesn't matter if I use windows-latest or ubuntu-latest. All of my builds are out of the blue getting warnings about memory usage spiking to 95% and higher without us having changed anything in our build.
New issue checklist
Task name
DotNetCoreCLI
Task version
2.245.1
Issue Description
DotNetCoreCLI@2 produces this warning
[warning]Resource file has already set to: D:\a_tasks\DotNetCoreCLI_5541a522-603c-47ad-91fc-a4b1d163081b\2.245.1\node_modules\azure-pipelines-tasks-packaging-common\module.json
Which make the BuildQualityChecks@9 fail Not present in version 2.242.1
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows image tested
Relevant log output
Full task logs with system.debug enabled
Repro steps
No response