YAML Schema
The YAML schema for Aql:
resources: - name: <string> type: Aql configuration: sourceArtifactory: <artifactory integration name> query: <string> addedProperties: key1: val1 key2: val2 mappings: - name: mapping1 input: output: - name: mapping2 input: output:
Tags
name
An alphanumeric string (underscores are permitted) that identifies the resource.
type
Must be Aql
for this resource type.
configuration
Specifies all configuration selections for the resource.
Tag | Description | Required/Optional |
---|---|---|
sourceArtifactory | The name of an Artifactory Integration. | Required |
query | An Artifactory Query Language query 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 an Artifactory Integration.
- The Pipelines DSL for this example is available in this repository in the JFrog GitHub account.
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..."