开发者

Java tools to deploy and test in Windows/Linux machines (Continuous Integration)

开发者 https://www.devze.com 2023-04-13 03:51 出处:网络
I\'m trying to build system tests into Jenkins. The trouble is I need to test distributed deployments where the multiple instances of the software under test automatically connect to each other. The s

I'm trying to build system tests into Jenkins. The trouble is I need to test distributed deployments where the multiple instances of the software under test automatically connect to each other. The steps should be as follows:

  1. A Jenkins machine handles the build job (maven).
  2. On successful completion, it deploys the artifacts on a number of machines (Windows 7, XP and Linux)
  3. Those machines kill the previous execution of the software under test and start it again (with the recently deployed version)
  4. The Jenkins machine then runs a set of tests that make use of the remote deployments

What I am currently considering is using Fabric (with Cygwin on the Windows machines), and use ant tasks in maven to orc开发者_Go百科hestrate it all.

Before I commit to this, though, I'd like to hear some of you testing experts in case I'm making my life harder than it should be ;)

Thanks!


I’m not an expert (not even almost), but I have made some experience with build-engines and automatic deployment. That's what we've made:

We are using IBM's RTC for the build process and STAF for the deployment (on Windows and on Linux). Everything is controlled via ANT - the build, the tests and the deployment. That works pretty good. STAF is a small tool (from IBM, too, but open source), that runs on Windows and Linux. It provides methods to interact with remote machines (e.g. copy files or start tasks). you can also write an own Java program for STAF (some kind of a plug-in) to do what ever you want on a remote machine.

If you are already working with Java, this could be a good solution.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号