人工插件

Artifactory plug in

我正在从 Jenkins 触发 selenium 脚本。在运行结束时,我想分享测试结果。

我已经集成了 Artifactory 插件,以便可以放置测试结果,以便用户可以使用 Artifactory UI 访问/查看结果。但是我无法配置 jenkins 作业来实现它。请帮我配置

你需要的是the Generic (a.k.a freestyle) build。在这种类型的构建中,您可以指定 Jenkins 工作区中的哪些工件应该部署到 Artifactory 以及在哪个路径下。

您可以部署存档结果,然后使用 the archive browsing feature get a fully working site served from the archive. Here's an example(注意 url 中的 !)。