-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
tools path are not in the env PATH Azure DevOps VMs #9777
Comments
@bishal-pdMSFT can I create a smilar PR microsoft/azure-pipelines-tasks#7306 to add global tools path to PATH? However, for non first party case. global tools requires changing global state of the machine. If the user does not have access like changing the PATH or repoen a shell session. |
@wli3 I have already tried to do so in the PR: microsoft/azure-pipelines-tasks#8432. You can review it. |
@wli3 @bishal-pdMSFT I agree that we shouldn't have to use --tool-path. The problem with using this is that global tools are supposed to be, um, global. |
@bishal-pdMSFT global state means PATH and dropping files in users' directory (compared with last only in the build) |
i think the PR should be good |
@cosmoKenney agree that keeping CI and local dev in sync is a problem for global tools. We are working on the local tools, that might help this situation. https://github.com/dotnet/cli/issues/9924 |
https://github.com/dotnet/cli/issues/8368#issuecomment-424963647
The text was updated successfully, but these errors were encountered: