jfrog-cli - 我们如何在 Jfrog aql 语言规范文件中定义多个路径?
问题描述
在定义的规范文件下方,我想在“路径”中添加更多值:{$match} 函数。我的意思是我需要在这种语法中定义多个路径,这可能吗?即:Test/dev、Test/qa、Test/prod 等。
"files": [
{
"aql": {
"items.find": {
"repo": "Testing",
"path": {"$match":"Test/dev"},
"name": {"$match":"*"},
"type": "file",
"$or": [
{
"$and": [
{
"created": { "$before":"90d" }
}
]
}
]
}
}
}
]
}
解决方案
推荐阅读
- c# - C# 如何使用 Interop 从 Excel 读取和写入数据,而不使 Excel 可见?
- c - 如何使用 ESC 序列设置前景色?
- sql - 根级节点未出现结果
- c++ - 希望在文本文件中将逗号分隔的值添加到结构的成员
- r - 仅使用 R 中表 A 中的列合并表 A 和 B
- algorithm - 具有重叠的限制之间的值的值查找图
- javascript - 我想创建一个 js 文件并且必须动态加载 img 标签
- mysql - 在 MySQL 中存储数字 (0-999) 的最佳数据类型
- visual-studio - CMake 无法将库复制到 Visual Studio 2019 中的测试文件夹
- javascript - 如何重命名javascript对象函数hasOwnProperty?