无法在 Azure YAML 中使用秘密定义运行时参数
Unable to define runtime parameters with secret in azure YAML
我正在尝试创建一个秘密运行时参数,如 GitHub 中所述。但是出现以下错误。
Encountered error(s) while parsing pipeline YAML:
/azure-pipelines.yml (Line: 12, Col: 3): Unexpected value 'secret'
代码:
parameters:
- name: app
type: string
values:
- App1
- App2
- name: mySecret
type: string
secret: true
我在
Developer Community 门户网站也是如此。如果有任何可能,请告诉我。
Unable to define runtime parameters with secret in azure YAML
确实,我也可以在我这边重现这个问题。那是因为该文档是 Design Docs.
您可以查看 state of that doc:
The design docs within this repo are created at different times during
the development of Azure Pipelines, to support collaborative
contributions to the design process. Designs documents are for,
- features considered for implementation but never implemented
- already implemented features
- future ideas for features
The design docs in this repo may not represent the current state of an Azure Pipelines feature.
很明显,这是一个尚未实现的功能。这就是您收到该错误的原因。你可以期待它的到来,相信很快就会和我们见面。
希望这对您有所帮助。
我正在尝试创建一个秘密运行时参数,如 GitHub 中所述。但是出现以下错误。
Encountered error(s) while parsing pipeline YAML:
/azure-pipelines.yml (Line: 12, Col: 3): Unexpected value 'secret'
代码:
parameters:
- name: app
type: string
values:
- App1
- App2
- name: mySecret
type: string
secret: true
我在 Developer Community 门户网站也是如此。如果有任何可能,请告诉我。
Unable to define runtime parameters with secret in azure YAML
确实,我也可以在我这边重现这个问题。那是因为该文档是 Design Docs.
您可以查看 state of that doc:
The design docs within this repo are created at different times during the development of Azure Pipelines, to support collaborative contributions to the design process. Designs documents are for,
- features considered for implementation but never implemented
- already implemented features
- future ideas for features
The design docs in this repo may not represent the current state of an Azure Pipelines feature.
很明显,这是一个尚未实现的功能。这就是您收到该错误的原因。你可以期待它的到来,相信很快就会和我们见面。
希望这对您有所帮助。