我应该使用Jenkins CI服务器将WAR文件部署到Tomcat吗? [英] Should I use Jenkins CI server for deploying WAR file to Tomcat?

查看:194
本文介绍了我应该使用Jenkins CI服务器将WAR文件部署到Tomcat吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始使用jenkins继续集成我的项目。它构建一个WAR文件(使用Maven)和一个Android应用程序(使用Ant)。我还希望将WAR的每夜构建部署到我的Tomcat测试服务器上,并将我的Android应用程序部署到Web服务器,以便可以在空中安装。一种方法是为这个发布版本添加一个ant构建目标,并让Jenkins调用这个ant taget。

I have recently started using jenkins for continuous integration of my project. It builds a WAR file (using Maven) and an Android app (using Ant). I also want to automate the deployment of a nightly build of the WAR onto my Tomcat test server and a deployment of my Android app to a webserver so it can be installed over the air. One way to do this is to add an ant build target for this release distribution, and have Jenkins call this ant taget.

我的问题是,这是适当使用Jenkins还是我应该有一个单独的过程为这个发布分布(例如cron作业调用ant目标)?

My question is, is this appropriate use of Jenkins or should I have a separate process for this release distribution (e.g. a cron job calling the ant target)?

推荐答案

这里有一篇文章,阅读有关从Jenkins的CI服务器运行部署的好建议:

Here's an article to read with good advice on running deployments from a CI server like Jenkins:

http:// decodify.blogspot.com/2010/10/how-to-build-one-click-deployment-job.html

这篇关于我应该使用Jenkins CI服务器将WAR文件部署到Tomcat吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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