How do I create pipeline variables for a YAML-based pipeline?

前端 未结 1 1548
情深已故
情深已故 2021-01-20 01:45

With designer/class build pipeline, you can define pipeline variables with default values to be passed into the tasks. How do I do the same for a YAML-based pipeline?

<
1条回答
  •  -上瘾入骨i
    2021-01-20 02:19

    when you edit the build definition (not when you create it, at least with default experience). you'd need to click on 3 dots and pick variables from the list:

    and there you would be able to define variables, and they would have a checkbox - Settable at queue time.

    0 讨论(0)
提交回复
热议问题