Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Fix reportgenerator installation error #3369

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

liushilongbuaa
Copy link
Contributor

@liushilongbuaa liushilongbuaa commented Nov 14, 2024

What I did
Fix pipeline error.
here is the error message:

/tmp/823d4a0e-75c7-4ca8-b487-06e1f38eae6d/restore.csproj : error NU1202: Package dotnet-reportgenerator-globaltool 5.4.1 is not compatible with net7.0 (.NETCoreApp,Version=v7.0) / any. Package dotnet-reportgenerator-globaltool 5.4.1 supports:
/tmp/823d4a0e-75c7-4ca8-b487-06e1f38eae6d/restore.csproj : error NU1202:   - net8.0 (.NETCoreApp,Version=v8.0) / any
/tmp/823d4a0e-75c7-4ca8-b487-06e1f38eae6d/restore.csproj : error NU1202:   - net9.0 (.NETCoreApp,Version=v9.0) / any

+ reportgenerator -reporttypes:Cobertura '-reports:tests/*coverage.xml' -targetdir:.
/agent/_work/_temp/057fa35b-9e5b-426a-bd88-2c5956cb8dcf.sh: line 2: reportgenerator: command not found

Why I did it

How I verified it
pipeline in this PR didn't shows that error message.
Details if related

@liushilongbuaa liushilongbuaa changed the title fixpipeline [ci] Fix reportgenerator installation error Nov 14, 2024
@liushilongbuaa liushilongbuaa marked this pull request as ready for review November 14, 2024 09:43
@liushilongbuaa
Copy link
Contributor Author

@prsunny , can you help merge this PR?
test case error is not caused by this PR.

@wangxin wangxin merged commit e8d81b4 into sonic-net:master Nov 15, 2024
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants