Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A build resource used to reference artifacts from a run.
builds:
- build: string # Required as first property. Alias or name of build artifact.
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
Definitions that reference this definition: resources.builds
Properties
build string. Required as first property.
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.
Remarks
If you have an external CI build system that produces artifacts, you can consume artifacts with a build resource. 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