从 Nexus 部署到 Tomcat(通过 Jenkins/Hudson)

发布于 2024-12-05 17:35:34 字数 571 浏览 3 评论 0原文

我希望为我们的内部发展创建一个三步流程,但我对第三步有一些问题。

第 1 步: 开发人员将使用 Jenkins 构建/部署项目的快照版本到 Nexus 快照存储库。作为构建后步骤,该项目还将构建的 WAR 部署到 Tomcat(使用 DeployArtifact 插件)。

第 2 步: 使用 Jenkins 升级构建插件,开发人员可以指定构建为质量检查做好准备。然后,该构建版本会被标记为候选版本号,并部署到 Nexus 版本存储库。

第 3 步: 我希望 QA 能够登录 Jenkins 并能够将新创建的候选版本部署到 Tomcat(用于 QA 的不同 tomcat 实例)。

我知道我可以通过使用 shell 脚本的手动构建过程来完成所有这些工作,但我真的希望有一个 Jenkins 插件可以允许 QA 找到候选版本插件列表并将特定插件部署到 Tomcat。

I am looking to create a three-step process for our internal development, and I am having some issues with the third step.

Step 1:
A developer will use Jenkins to build/deploy a snapshot release of a project to the Nexus snapshot repository. As a post build step, this project will also deploy the built WAR to Tomcat (Using the DeployArtifact plugin).

Step 2:
Using the Jenkins promoted builds plugin, a developer can nominate a build to be ready for QA. This build is then tagged with an release candidate number, and deployed to the Nexus release repository.

Step 3:
I would like QA to be able to log into Jenkins and be able to deploy the newly created release candidate to Tomcat (a different tomcat instance for QA).

I know I can do all of this via a manual build process with shell scripting, but I was really hoping that there would be a Jenkins plugin to allow QA to find a list of the release candidate plugins and deploy a specific one to Tomcat.

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

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

发布评论

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

评论(1

紅太極 2024-12-12 17:35:34

我认为您正在寻找类似 Jenkins Artifactory 的东西用于发布管理的插件

使用 Nexus,您将获得的最接近的是 Staging 套件 功能。我不知道它可能与 Hudson 或 Jenkins 有任何集成。此外,这仅适用于 Nexus 专业版。

I think you're looking for something like the Jenkins Artifactory plug-in for release management.

The closest you'll get, using Nexus, is the Staging suite functionality. I'm not aware of any integration it might have with Hudson or Jenkins. Additionally this is only available with the professional version of Nexus.

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