监控 Nexus 仓库

发布于 2024-10-06 16:37:40 字数 184 浏览 4 评论 0原文

有谁知道允许监控 mvn 工件部署到 nexus 存储库的 nexus 插件或 API?我的问题是,开发人员正在将各种 jar 上传到 Nexus 存储库,而我无法知道谁做了什么以及为什么?我如何对他们强制执行规则,以便他们在将任何 jar 上传到 nexus 之前必须输入评论?有没有办法在 mvn/nexus 中做到这一点???

珍妮

Does anyone know of a nexus plugin or APIs that allows the monitoring of mvn artifacts deployments to a nexus repo? my issue is that developers are uploading all kind of jars to a nexus repo and i have no way of knowing who did what and why? How do i enforce a rule on them so that they have to type in a comment before uploading any jars to nexus? Is there a way of doing this in mvn/nexus???

Jenny

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

吻风 2024-10-13 16:37:40

有多个用于广播的 RSS 提要 Nexus 内的事件通知。

要监视新部署,我建议:

http://nexushost:8081/nexus/service/ local/feeds/recentlyDeployedArtifacts

至于实施部署规则,您的选择更加有限。 Nexus Professional 能够应用规则,但这仅有效作为构建升级功能的一部分。不确定此功能有多灵活,并且它不是 OSS 版本的一部分。

There are several RSS feeds for broadcasting notifications of events within Nexus.

To monitor new deployments I'd suggest:

http://nexushost:8081/nexus/service/local/feeds/recentlyDeployedArtifacts

As for implementing deployment rules, your options are more limited. Nexus Professional has the ability to apply rules, however this only works as part of the build promotion functionality. Not sure how flexible this functionality is, and it's not part of the OSS edition.

丶视觉 2024-10-13 16:37:40

正如另一个答案中所述,有许多 RSS 源。在谁做了什么和跟踪方面,即使在 OSS 版本中,您也可以设置不同的用户和角色。只需为每个用户提供自己的用户名和密码,并仅将部署权限授予您信任的能够做正确事情的人。

As stated in the other answer there are a number of RSS feeds. In terms of who did what and tracking that even in the OSS version you can set up different users and roles. Just give each user their own username and password and only give deployment rights to the ones you trust to do the right thing..

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文