[英]How to pass a parameter to Azure DevOps Build queue action created in Microsoft Power Automate?
I have added my custom parameters to the build definition for a given project in Azure DevOps.我已将自定义参数添加到 Azure DevOps 中给定项目的构建定义中。 I want to send values to these added parameters via Power Automate.
我想通过 Power Automate 向这些添加的参数发送值。
I added parameters and tried to pass these parameters in the action step of the workflow, but could not see the values coming in DevOps pipeline.我添加了参数并尝试在工作流的操作步骤中传递这些参数,但无法看到 DevOps 管道中的值。
Here's the steps I have already:这是我已经完成的步骤:
Now I want to pass values to there custom variables or parameters externally specifically through Microsoft Work Flow using the QUEUE A BUILD ACTION.现在我想使用 QUEUE A BUILD ACTION 通过 Microsoft 工作流将值传递给外部的自定义变量或参数。
Is this doable or can it only be used internally in the build pipeline, eg these variables cannot be accessed or values cannot be passed through external sources like Microsoft Power Automate?这是可行的还是只能在构建管道内部使用,例如无法访问这些变量或无法通过 Microsoft Power Automate 等外部源传递值?
If this is doable, can you please let us know how to pass the values to these variables externally and how to see them in the build pipeline that the values have been passed to these variables so that we can use it in the other steps of build pipeline?如果这是可行的,您能否让我们知道如何将值从外部传递给这些变量,以及如何在构建管道中看到它们已传递给这些变量的值,以便我们可以在构建的其他步骤中使用它管道?
The point to note is: the parameter should be in JSON format需要注意的一点是:参数应该是JSON格式
I don't know what parameters you've set, but I can successfully pass the parameter to the build pipeline through the following setting.不知道你设置了什么参数,但是我可以通过下面的设置成功地将参数传递给构建管道。 You can refer to the following instructions:
您可以参考以下说明:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.