English 中文(简体)
是否除了使用钥匙 v、无代理管道和参数在管道运行期间提供用户投入外,还没有任何区别?
原标题:Is there any way apart from using key vault, agentless pipeline and parameters to provide user input during pipeline runtime in azure?

I m trying to provide user input during pipeline runtime but not able to give it. is there any way I can achieve this in azure pipeline apart from using parameters or using key vault to provide the input during manual validation.

制定一项可行的任务,促使用户输入投入,但未能实现。

问题回答

“DevOps”建造管道是非互动的,除非你在第三方储存区使用人工干预和改变数据,否则无法在管道运行期间要求用户投入。

可在

页: 1 管道是非互动的,对可变数值during<>/strong>的管道运行没有任何东西箱。

在“S Richardcotts”的启发下,answer,您可考虑在管道施工过程中利用以下工作方式更新管道图书馆(可变群体)变量的数值。

这里是使用一个变量组的简便的阿YA马管道(job scope)。

stages:
- stage: StageA
  jobs:
  - job: Job1
    variables:
    - group: VG-Job
    steps:
    - script: echo $(Var1)

  - job: Job2
    dependsOn: Job1
    variables:
    - group: VG-Job
    steps:
    - script: echo $(Var1)
  1. Setup the variable group with the name VG-Job; in the variable group, add a variable $(Var1) with the original value ValueXXXXX; enter image description here
  2. Enable Approvals check for this variable group; enter image description here enter image description here
  3. When running the pipeline, it will suspend the execution of StageA to wait for the approval by the approver to use the variable group resource VG-Job; enter image description here
  4. Before approval, the approver may update the value of the variable $(Var1) in this variable group and proceed to approve and resume the pipeline stage; enter image description here
  5. The output value of the variable $(Var1) during the pipeline run will be the updated value ValueYYYYY rather than its original value ValueXXXXX, since the value of a variable in a variable group is processed at runtime; enter image description here

也请通知:

如果管道中的s能够消耗资源(就我们的情况而言,类似变数群体),则检查机制可供资源所有人控制。 作为资源的所有者,如环境(可变群体),你可以确定在<><>之前必须完成的检查。 耗费这一资源可以开始。

same阶段,即Job1阶段,not将暂停输电管,要求批准。

希望工作可能有助于解决你的询问。





相关问题
Windows Azure WorkerRole response

I am working on an Azure demo to run Powershell in a worker role. In my web role I add the name of the Powershell script which is to be run to a CloudQueue object. I can print the script output to ...

Windows Azure WebRole stuck in a deployment loop

I ve been struggling with this one for a couple of days now. My current Windows Azure WebRole is stuck in a loop where the status keeps changing between Initializing, Busy, Stopping and Stopped. It ...

Getting a token for Windows Azure

We are looking at Windows Azure, but getting a token appears to be hard now, at least that s what I m seeing in web searches. Anyone tried it or know how to accelerate that process? Any idea how long ...

Developing Azure .Net 4.0 Applications

Presently .Net 4.0 is not supported on Azure. This thread indicates that you will not be able to use .Net 4.0 with VS 2010 until it is supported in the cloud. http://social.msdn.microsoft.com I d ...

.NET 4.0 on Windows Azure?

My google-fu is failing me on this one. As a possible solution to Unit Testing .NET 3.5 projects using MStest in VS2010 (but I ve put this in a seperate question because it s kind of unrelated): Is ...

热门标签