如何在 AQL 中返回包名称和校验和
我正在使用 JSON 文件来填充我的查询,如下所示:
{
"files": [
{
"aql": {
"items.find": {
"repo": "my-fake-repo",
"path": {"$match": "my-fake-path"}
}
}
}
]
}
我只想包含该 repo
中文件的 name
及其 sha256总和。我尝试使用
.include()
选项,但它对我不起作用。有关在何处添加具有此结构的 .include()
标记的任何指导吗?再次使用 JSON 文件运行 jfrog rt s --spec
选项。
I am using a JSON file to populate my query that looks something like this:
{
"files": [
{
"aql": {
"items.find": {
"repo": "my-fake-repo",
"path": {"$match": "my-fake-path"}
}
}
}
]
}
I would like to include only the name
of the files in that repo
and their sha256
sum. I've tried to use the .include()
option, but it's not working for me. Any guidance on where to add the .include()
tag with this structure? Again, using a JSON file to run jfrog rt s --spec
option.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用以下语法来获取存储库中工件的 SHA 值。
You can use the following syntax to get the SHA values of the artifacts within a repository.