相关:Artifactory aql:查找具有给定属性的工作版本
如博客中所述,我想使用 Jfrog CLI 使用此 AQL 查询 Artifactory:
items.find(
{
"repo":"snapshot-local",
"artifact.module.build.name":"foo",
"artifact.item.@vcs.Revision":"aabbccddee123456"
}
).include("artifact.module.build.number")
我对文件规范的理解是它应该遵循这些原则:
{
"files":
[
{
"aql":{
"items.find":{
"repo":"snapshot-local",
"artifact.module.build.name":"foo",
"artifact.item.@vcs.Revision":"aabbccddee123456"
}
}
}
]
}
但是,我不确定如何请求该artifact.module.build.number
属性。如何.include("artifact.module.build.number")
在请求中使用与 cURL 相同的行为?