Reputation: 12876
We use Jenkins to run continuous integration builds. The output of these builds might be an EAR file, a WAR file, or a collection of files that are TAR'd up that get deployed to an upstream environment.
To this point we have used Jenkins to manage the produced artifacts. However, we have Artifactory deployed in-house. Would it be a bad idea to leverage Artifactory to capture the produced artifacts? If so, why? e.g is Artifactory only meant to hold JARs with versions that can be pulled into projects with Maven when building and not meant to capture artifacts that a continuous integration tool uses?
Upvotes: 3
Views: 2136
Reputation: 7815
Artifactory (or any binary repository manager) SHOULD be used in conjunction with your CI server. There's even a plugin.
The reasons for maintaining a binary repository manager over other solutions (network share, SCM) are obvious:
And many more.
So you use a binary repository manager to control your dependencies and resolve your artifacts, but why stop there? you've got binaries all over your cycle:
A binary repository manager is the most safe, efficient and natural place to keep them. Maintaining all your binaries in one place means less maintenance and improved build reproducibility.
Upvotes: 5
Reputation: 77971
I don't think so. The following diagram comes from the sonatype website:
Demonstrates how your Maven repository manager can be a platform for your deployment processes
Upvotes: 5