将工件上传到Artifactory的首选方式是什么? [英] What is the preferred way to upload artifacts to Artifactory?

查看:579
本文介绍了将工件上传到Artifactory的首选方式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我从文档中得到了一些信息,所以我问这里的专家:使用 gradle's <$ c 将工件上传到Artifactory的首选方式是什么? $ c> uploadArchives 或Artifactory的 artifactoryPublish



为什么uploadArchives不够?

ref:

> uploadArchives当然可以工作,但你会错过一个主要的原因 Artifactory的构建集成(无论是由独立的构建工具还是由运行它的CI服务器)是一个非常强大的工具,你应该肯定 使用用于构建工件和依赖关系的易处理性,许可证管理发布管理和广告vanced 搜索功能,这些功能都依赖于插件发布的构建信息。



你也应该考虑使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆