gpt4 book ai didi

azure - 如何将 Powershell 脚本文件路径从 azure devops 存储库传递到 Azure devops 构建管道

转载 作者:行者123 更新时间:2023-12-03 05:41:26 25 4
gpt4 key购买 nike

我一直在关注这篇文章来学习Azure DevOps。但是,我无法获取 Powershell 脚本传递到 azure devops 构建管道的文件路径。

https://learn.microsoft.com/en-in/azure/devops/pipelines/create-first-pipeline?view=azure-devops

下面是我在 Azure Repo 中的脚本

enter image description here

下面是我的 Azure Devops 构建管道,我想在其中添加 PowerShell 脚本文件路径:

enter image description here

第二张图片中的“ScriptPath”没有浏览选项,因此我无法获得正确的路径。

请帮助我。

最佳答案

'./HelloWorld.ps1' 我必须使用这种格式作为文件路径。

关于azure - 如何将 Powershell 脚本文件路径从 azure devops 存储库传递到 Azure devops 构建管道,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58405363/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com