【发布时间】:2022-08-09 03:47:08
【问题描述】:
我想将我的搜索限制为只有 1 个最后更新的文件如何将其添加到我的代码中?我尝试在大括号方括号后添加limit(1),但没有成功。有谁知道如何将此应用于我的代码?
ArtifactoryGenericDownload@3
inputs:
connection: \"JFROG\"
specSource: \"taskConfiguration\"
fileSpec: |
{
\"files\": [
{
\"target\": \"./$(Pipeline.Workspace)/de-cf-dnalib\",
\"aql\": {
\"items.find\":{
\"repo\":\"python\",
\"$and\":[
{
\"$and\": [
{ \"name\": { \"$match\": \"*.whl\" } },
{ \"modified\": { \"$last\": \"10d\" } }
]
},
{
\"$and\": [
{ \"name\": { \"$nmatch\": \"*dev*\" } }
]
}
]
}
}
}
]
}
failNoOp: true
标签: azure azure-devops yaml artifactory jfrog-cli