Reputation: 29
How i can move artifact in Jfrog Artifactory from source repo to a target repo using jenkins pipeline.
I found this documentation for a copy methode.
Please advise, Thanks
Upvotes: 0
Views: 274
Reputation: 11045
The command you found is relevant. The promotion idea is meant for copying or moving between repositories. Just need to toggle the copy: true
or copy: false
for copying or moving.
You can also use the JFrog CLI that has a move command for moving files between locations in Artifactory.
In general, the CLI is your swiss army knife for almost all operations agains Artifactory in an automation friendly way.
Upvotes: 3