AArnott / Library.Template

A template for a NuGet package with tests, stylecop, fxcop, versioning, and Azure Pipelines build ready to go.
MIT License
131 stars 26 forks source link

Choco install should automatically confirm #47

Closed SteveBush closed 4 years ago

SteveBush commented 4 years ago

In azure-pipelines\install-dependencies.yml, the choco install command should automatically confirm prompts. Users may not have set global confirmation to true.

File: azure-pipelines\install-dependencies.yml Fix: choco install procdump -y

AArnott commented 4 years ago

Is this really needed? Don't Azure Pipelines agents guarantee that choco has been preconfigured for global confirmation? I've never had an agent hang on a user prompt. Have you?

SteveBush commented 4 years ago

Hosted azure pipelines do guarantee choco clients are preconfigured for global confirmation. However, a local windows agent doesn't necessarily have this guarantee. In my situation, I use a local Windows agent to debug my pipelines. I can view the work folder locally and verify my Azure pipeline is producing what I expect. On my developer machine (local agent), I don't have a global confirmation setting.

AArnott commented 4 years ago

Got it. Thanks.