The spec file, in this case, has two mandatory parameters: aql/pattern and target:
Here’s an example filespec which will copy all of the artifacts in generic-local to generic-local-2
- "pattern" or "aql" : the aql query to generate the artifacts that will be moved
- "target" : target location on Artifactory to which the artifacts will be moved
Here’s an example filespec which will copy all of the artifacts in generic-local to generic-local-2
{
"files": [
{
"aql": {
"items.find" : {
"repo":"generic-local"
}
},
"target" : "generic-local-2/"
}
]
} For more details regarding the possible AQL queries, please refer to AQL documentation.