Closed asehra closed 3 years ago
Thanks for reporting this, @asehra. I am suspecting that the directory added to the PATH
from the tool cache is perhaps encapsulated in another directory. If you could please add a command-line task after the initial Pulumi task step and see what is under /azp/agent/_work/_tool/pulumi/3.0.0/x64
? That would help diagnose this.
The fix for this is now available in v1.0.10
.
Describe the bug When the
versionSpec
input is configured to3.0.0
, the first run caches the cli, and the subsequent looks for the cli on PATH but fails.To Reproduce Steps to reproduce the behavior:
Prepending PATH environment variable with directory: /azp/agent/_work/_temp/2f278ff1-a72c-49f7-9278-65e3e388xxxx/pulumi Caching tool: pulumi 3.0.0 x64 /azp/agent/_work/_temp/2f278ff1-a72c-49f7-9278-65e3e388xxxx/pulumi/pulumi version v3.0.0
Found tool in cache: pulumi 3.0.0 x64 Prepending PATH environment variable with directory: /azp/agent/_work/_tool/pulumi/3.0.0/x64
[error]Pulumi CLI does not seem to be installed in your environment.