Artifactory Package copy from One Folder to another using Jenkins Job

I need to copy the packages within Artifactory. For example from dev-all repository to Qa-all repository using my existing Jenkins job, where I will select the package at run time.
Please help me on how to write a script for this using shell and carry out task using Jenkins.

Upvotes: 1

Views: 1803

Answers (1)

Eldad Assis
Eldad Assis

Reputation: 11045

I assume you mean an artifact when you say package...
Anyway, it's very easy to do such moving/copying with the JFrog CLI. It has all options to manipulate artifacts and metadata in Artifactory.

See JFrog CLI here.
It's perfect for automation and Jenkins like tools.

There are many examples, and moving an artifact is easy (moving files).

I hope this helps.

Upvotes: 1

Related Questions