Pipeline Resource types

PipelineResources are a set of objects that are used as inputs to a Task and can be output by a Task. A Task can have multiple inputs and outputs.

The following PipelineResources are currently supported:

  • Git Resource

  • Pull Request Resource

  • Image Resource

  • Cluster Resource

pipeline resources tasks

To define a configuration file for PipelineResources, you must specify the following fields:

Required:

  • apiVersion- Specifies the API version.

  • kind - Specifies the PipelineResource resource object.

  • metadata - Specifies data to uniquely identify the PipelineResource object, for example a name.

  • spec- Specifies the configuration information for the PipelineResource object.

  • type - Specifies the type of PipelineResource.

Optional:

  • params - Parameters which are specific to each type of PipelineResource.