相关疑难解决方法(0)

如何在 Azure Pipelines PowerShell 任务中编写内联多行 powershell 脚本?

Powershell 任务的 yaml 架构允许您选择 targetType: 'inline' 并在 script: input 中定义一个脚本。

但是编写多行脚本的正确格式是什么?

文档没有指定如何,并且在第一行使用管道(就像为命令行任务指定的那样)不起作用。

powershell azure-pipelines

14
推荐指数
2
解决办法
8758
查看次数

标签 统计

azure-pipelines ×1

powershell ×1