YAML Schema
The YAML schema forAql:
resources: - name:type: Aql configuration: sourceArtifactory: query: addedProperties: key1: val1 key2: val2 mappings: - name: mapping1 input: output: - name: mapping2 input: output:
Tags
name
Analphanumericstring (underscores are permitted) that identifies the resource.
type
Must beAql
for this resource type.
configuration
Specifies all configuration selections for the resource.
Tag |
Description |
Required/Optional |
---|---|---|
sourceArtifactory |
The name of anArtifactory Integration. | Required |
query |
AnArtifactory Query Languagequery string. |
Required |
addedProperties |
List of added properties that will be added to the artifacts after distribution of the release bundle.
|
Optional |
|
List of mappings that are applied to the artifact paths after distribution of the release bundle.
|
Optional |
Examples
- This examples requires anArtifactory Integration.
- The Pipelines DSL for this example is available inthis repositoryin theJFrogGitHub account.
pipelines.yml
resources: - name: Aql_ART_1 type: Aql configuration: sourceArtifactory: s_artifactory query: items.find({"@build.name":{"$eq":"art"}}) addedProperties: key1: value1 key2: value2 mappings: - name: mapping1 input: IN output: test1 - name: mapping2 input: IN output: test2 pipelines: - name: pipelines_ART_1 steps: - name: step_ART_1 type: PowerShell configuration: nodePool: win_2019 inputResources: - name: Aql_ART_1 trigger: true execution: onExecute: - write-output "executing step..."