pulumi / pulumi-az-pipelines-task

Azure Pipelines task extension for running Pulumi apps.
https://marketplace.visualstudio.com/publishers/pulumi
Apache License 2.0
27 stars 19 forks source link

Unable to run Pulumi for a dotnet app #23

Closed praneetloke closed 4 years ago

praneetloke commented 4 years ago

Describe the bug When running a dotnet core-based Pulumi app, Pulumi exits with the following error due to the dotnet CLI throwing an error during dotnet build:

error: The user's home directory could not be determined. Set the 'DOTNET_CLI_HOME' environment variable to specify the directory to use.

To Reproduce Steps to reproduce the behavior:

  1. Create a dotnet Pulumi app
  2. Use Pulumi Azure Pipelines Task Extension
  3. Run the pipeline

Expected behavior Pulumi should allow setting the DOTNET_CLI_HOME env var

Screenshots

Screen Shot 2019-11-13 at 23 03 59

Additional context N/A

praneetloke commented 4 years ago

20 seems to have been reported for a build agent running on Windows. The above bug report is for Ubuntu.