Reputation: 1357
I've a artifactory server that contains this repositories
I've to move some artifact (around 50.000) from releases to locked releases...
I will need to identify artifacts with a precise version:
For example all the artifacts with a version that begin with RC or all the artifacts that end with M1
Now here are my questions:
Thank you!!
Upvotes: 1
Views: 1945
Reputation: 22893
There are two ways to do it:
releases
, filter them by your logic and then move the filtered artifacts.releases
, filter them and then move the filtered items.While the earlier is easier to develop (you can use any language to write the script and don't need to deploy it), the later will be much faster (since executed in Artifactory and does not require separate REST call to move each of 50K artifacts). Considering the amount of artifacts to move, I would definitely recommend writing a user plugin.
Upvotes: 2