将工件上传到Artifactory的首选方式是什么? [英] What is the preferred way to upload artifacts to Artifactory?
问题描述
我从文档中得到了一些信息,所以我问这里的专家:使用 gradle's <$ c 将工件上传到Artifactory的首选方式是什么? $ c> uploadArchives 或Artifactory的 artifactoryPublish
?
为什么uploadArchives不够?
>
你也应该考虑使用CI 插件,因为它们提供了更多。
I have a gradle project, and Artifactory as a repository.
I'm a bit confised from the docs, so I ask the experts here: What is the preferred way to upload artifacts to Artifactory? using gradle's uploadArchives
, or Artifactory's artifactoryPublish
?
Why the uploadArchives is not enough?
ref: upload artifact to artifactory using gradle
uploadArchives would of course work but you will be missing out on one of the main reasons you got Artifactory in the first place.
Artifactory's Build Integration (either by standalone build tool or by a CI server running it) is a very powerful tool you should definitely use for tractability of build artifacts and dependencies, license management, release management, and advanced search capabilities which all rely on the build information published by the plugin.
Also you should consider using one of the CI plugins as they offer much much more.
这篇关于将工件上传到Artifactory的首选方式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!