Concourse resource for triggering, getting & putting versions of artifacts within Artifactory
500K+
Concourse resource for triggering, getting and putting new versions of artifacts within Artifactory repositories.
Complete source configuration details can be viewed in GoDoc on the Source struct
Checks use the items domain to find artifacts with the supplied raw AQL or repo, path & name combination. Each artifact found is
returned as its own unique version for Concourse with the Repo, Path, Name & Modified values from the Artifactory API. Modified is used to filter future checks to ensure that API queries stay
performant.
Get will download an artifact to the input directory defined along with metadata for the artifact. The artifact is downloaded following its internal Artifactory path, so the resource/local-path metadata file is useful
to provide the specific path within the input directory to the downloaded artifact. View GoDoc for GetParameter options
Put supports publishing 1 or more artifacts using glob style patterns to locate artifacts to publish. View GoDoc for PutParameter options
Configure the resource type:
resource_types:
- name: artifactory
type: docker-image
source:
repository: digitalocean/artifactory-resource
tag: latest
Source configuration using raw AQL for item.find:
resources:
- name: myapplication
type: artifactory
icon: application-export
source:
endpoint: https://example.com/artifactory/
user: ci
password: ((artifactory.password))
aql:
raw: '{"repo": "artifacts-local", "path": {"$match" : "myapplication/*"}}'
Source configuration using repo, path, name:
resources:
- name: myapplication
type: artifactory
icon: application-export
source:
endpoint: https://example.com/artifactory/
user: ci
password: ((artifactory.password))
aql:
repo: artifacts-local
path: myapplication/*
name: '*'
Publishing artifacts to Artifactory:
- put: myapplication
params:
repo_path: code
pattern: built/myapplication/(*)
target: artifacts-local/myapplication/{1}
Content type
Image
Digest
Size
25.1 MB
Last updated
about 6 years ago
docker pull digitalocean/artifactory-resource