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

The term 'Agent.TempDirectory' is not recognized as the name of a cmdlet #1

Open
barfet opened this issue Oct 19, 2018 · 0 comments
Open

Comments

@barfet
Copy link

barfet commented Oct 19, 2018

Hi Yuri,

Thanks for the post and repo!
I'm currently trying to implement the same thing (send test coverage report from .NET Core application to the SonarCloud using Azure DevOps). I followed your guide but faced an issue with PowerShell command.
I'm getting the followong error:

The term 'Agent.TempDirectory' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

I'm using 2-nd version of PowerShell in AzureDevops but it can't find an env variable of $(Agent.TempDirectory). And I checked the checkbox for the reports in Test step:
image

Maybe you faced the same problem or know how to deal with it?

Thanks for the help!

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

No branches or pull requests

1 participant