共用方式為


資源定義

資源會指定管線所使用的組建、存放庫、管線和其他資源。

resources:
  builds: [ build ] # List of build resources referenced by the pipeline.
  containers: [ container ] # List of container images.
  pipelines: [ pipeline ] # List of pipeline resources.
  repositories: [ repository ] # List of repository resources.
  webhooks: [ webhook ] # List of webhooks.
  packages: [ package ] # List of package resources.
resources:
  builds: [ build ] # List of build resources referenced by the pipeline.
  containers: [ container ] # List of container images.
  pipelines: [ pipeline ] # List of pipeline resources.
  repositories: [ repository ] # List of repository resources.
  packages: [ package ] # List of package resources.
resources:
  builds: [ build ] # List of build resources referenced by the pipeline.
  containers: [ container ] # List of container images.
  pipelines: [ pipeline ] # List of pipeline resources.
  repositories: [ repository ] # List of repository resources.

參考此定義的定義: 管線

屬性

buildsresources.builds
管線所參考的組建資源清單。

containersresources.containers
容器映射的清單。

pipelinesresources.pipelines
管線資源清單。

repositoriesresources.repositories
存放庫資源的清單。

webhooksresources.webhook
Webhook 清單。

packagesresources.packages
套件資源清單。

另請參閱