I am trying to upload multiple patterns like .zip and .tar.gz using Artifactory/Jfrog Files in Jenkins.
here is my code
def uploadSpec = """{
"files": [
{
"pattern": "(*.zip | *.tar.gz)",
"target": "${upload_loc}/${BRANCH_NAME}/",
"recursive": "true",
"flat": "false",
"props": "Version=${Version};Branch=${BRANCH_NAME}"
}
]
}"""
I tried above syntax and it's not working for me, it says 0 artifcats found. can any one suggest if they encounter similar scenario.
Thanks and Regards Saint