For cases where an AQL file specification can include only one file, such as when searching by file hash, I would like to run multiple instances of jfrog-cli simultaneously.
Parallel executions work great at download time. Unfortunately, build reporting fails later. The cli seems to save off work in a temporary file and then reference it at reporting. But the last known file can't be found after a parallel run.
run these in parallel {
jfrog rt dl --spec file1.txt --build-number 1 --build-name mybuild
jfrog rt dl --spec file2.txt --build-number 1 --build-name mybuild
jfrog rt dl --spec file3.txt --build-number 1 --build-name mybuild
}
then run {
jfrog rt bp mybuild 1
}
It will throw an error message on the call to rt bp