tigger tigger
tigger tigger

Reputation: 109

Publishing/copying artifacts from one Ivy repository to another one

We are using ant with ivy through Jenkins to do our daily builds. Initially we want to publish our artifacts to our test Ivy repository and once testing is done, we want to copy the same artifacts to our released Ivy repository without rebuilding them. Does the Ivy or Jenkins has any tasks that help with this? Also, when we publish them to test repository we are planning on using integration status, is there a way we can change the status to release when we copy to released Ivy repository? We have multiple modules that we do builds for but only selected of them need to be moved to released Ivy repository. Any help is greatly appreciated.

Upvotes: 0

Views: 222

Answers (1)

Mark O'Connor
Mark O'Connor

Reputation: 77951

You can use the install task to copy artifacts between repositories.

A better solution to consider is using the staging suite a feature of Nexus professional. It works by creating a temporary repository for each release candidate, which can be promoted until deemed worthy of release. Other repository managers have similar features, worth considering rather than building your own.

Upvotes: 1

Related Questions