resources.builds.build definition

If you have an external CI build system that produces artifacts, you can consume artifacts with a build resource.

builds:
- build: string # Required as first property. Alias or name of build artifact.  ([-_A-Za-z0-9]*)
  type: string # Required. Name of the artifact type. 
  connection: string # Required. Name of the connection. This connection will be used for all the communication related to this artifact.. 
  source: string # Required. Name of the source definition/build/job. 
  version: string # 
  branch: string # 

Properties that use this definition: resources.builds

Properties

build

string

Required as first parameter. Alias or name of build artifact. Acceptable values: [_A-Za-z0-9]*

type

string

Required. Name of the artifact type.

connection

string

Required. Name of the connection. This connection will be used for all the communication related to this artifact.

source

string

Required. Name of the source definition/build/job.

version

string


branch

string


builds:
- build: string # Required as first property. Alias or name of build artifact.  ([-_A-Za-z0-9]*)
  type: string # Required. Name of the artifact type. 
  connection: string # Required. Name of the connection. This connection will be used for all the communication related to this artifact.. 
  source: string # Required. Name of the source definition/build/job. 
  version: string # 
  branch: string # 

Properties that use this definition: resources.builds

Properties

build

string

Required as first parameter. Alias or name of build artifact. Acceptable values: [_A-Za-z0-9]*

type

string

Required. Name of the artifact type.

connection

string

Required. Name of the connection. This connection will be used for all the communication related to this artifact.

source

string

Required. Name of the source definition/build/job.

version

string


branch

string


builds:
- build: string # Required as first property. Alias or name of build artifact.  ([-_A-Za-z0-9]*)
  type: string # Required. Name of the artifact type. 
  connection: string # Required. Name of the connection. This connection will be used for all the communication related to this artifact.. 
  source: string # Required. Name of the source definition/build/job. 
  version: string # 
  branch: string # 
  trigger: string # When the artifact mentioned in this build resource completes a build, its allowed to trigger this pipeline..  (none,true)

Properties that use this definition: resources.builds

Properties

build

string

Required as first parameter. Alias or name of build artifact. Acceptable values: [_A-Za-z0-9]*

type

string

Required. Name of the artifact type.

connection

string

Required. Name of the connection. This connection will be used for all the communication related to this artifact.

source

string

Required. Name of the source definition/build/job.

version

string


branch

string


trigger

string

When the artifact mentioned in this build resource completes a build, its allowed to trigger this pipeline.

builds:
- build: string # Required as first property. Alias or name of build artifact.  ([-_A-Za-z0-9]*)
  type: string # Required. Name of the artifact type. 
  connection: string # Required. Name of the connection. This connection will be used for all the communication related to this artifact.. 
  source: string # Required. Name of the source definition/build/job. 
  version: string # 
  branch: string # 
  trigger: string # When the artifact mentioned in this build resource completes a build, its allowed to trigger this pipeline..  (none,true)

Properties that use this definition: resources.builds

Properties

build

string

Required as first parameter. Alias or name of build artifact. Acceptable values: [_A-Za-z0-9]*

type

string

Required. Name of the artifact type.

connection

string

Required. Name of the connection. This connection will be used for all the communication related to this artifact.

source

string

Required. Name of the source definition/build/job.

version

string


branch

string


trigger

string

When the artifact mentioned in this build resource completes a build, its allowed to trigger this pipeline.

builds:
- build: string # Required as first property. Alias or name of build artifact.  ([-_A-Za-z0-9]*)
  type: string # Required. Name of the artifact type. 
  connection: string # Required. Name of the connection. This connection will be used for all the communication related to this artifact.. 
  source: string # Required. Name of the source definition/build/job. 
  version: string # 
  branch: string # 
  trigger: string # When the artifact mentioned in this build resource completes a build, its allowed to trigger this pipeline..  (none,true)

Properties that use this definition: resources.builds

Properties

build

string

Required as first parameter. Alias or name of build artifact. Acceptable values: [-_A-Za-z0-9]*

type

string

Required. Name of the artifact type.

connection

string

Required. Name of the connection. This connection will be used for all the communication related to this artifact.

source

string

Required. Name of the source definition/build/job.

version

string


branch

string


trigger

string

When the artifact mentioned in this build resource completes a build, its allowed to trigger this pipeline.

builds:
- build: string # Required as first property. Alias or name of build artifact.  ([-_A-Za-z0-9]*)
  type: string # Required. Name of the artifact type. 
  connection: string # Required. Name of the connection. This connection will be used for all the communication related to this artifact.. 
  source: string # Required. Name of the source definition/build/job. 
  version: string # 
  branch: string # 
  trigger: string # When the artifact mentioned in this build resource completes a build, its allowed to trigger this pipeline..  (none,true)

Properties that use this definition: resources.builds

Properties

build

string

Required as first parameter. Alias or name of build artifact. Acceptable values: [-_A-Za-z0-9]*

type

string

Required. Name of the artifact type.

connection

string

Required. Name of the connection. This connection will be used for all the communication related to this artifact.

source

string

Required. Name of the source definition/build/job.

version

string


branch

string


trigger

string

When the artifact mentioned in this build resource completes a build, its allowed to trigger this pipeline.

Remarks

A build resource can be any external CI systems like Jenkins, TeamCity, CircleCI, and so on.

Important

Triggers are only supported for hosted Jenkins where Azure DevOps has line of sight with Jenkins server.

Examples

resources:
  builds:
  - build: Spaceworkz
    type: Jenkins
    connection: MyJenkinsServer 
    source: SpaceworkzProj   # name of the jenkins source project
    trigger: true

See also

Define resources in YAML