File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes Hudson: Deploy to jBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Hudson: Deploy to jBoss" Watch "Hudson: Deploy to jBoss" New topic

Hudson: Deploy to jBoss

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208

I am trying to run a plan in Hudson to:
* build the project
* stop the running jBoss server
* copy the build project to the jBoss server
* start the jBoss server

Is this possible to be done using Hudson?


Peter Johnson

Joined: May 14, 2008
Posts: 5852

Which version of JBoss AS? The "how to" will depend on the exact version.

Did you look at the list of plugins available in Hudson? In Jenkins there is a JBoss Management Plugin that should be able to do what you want.

Finally, since what you are asking for can be accomplished using build scripts, you can always incorporate the steps into your build script. After all, Hudson/Jenkins is just a glorified cron system with a web interface and convenient plugins. You can get it to do anything if you are willing to write the scripts to do it.

JBoss In Action
Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208

the version of jBoss that i'm trying to stop/deploy/start is: jboss-eap-5.1

I have a build script that when executed on the linux console, starts the jBoss successfully, but when i add a call to this script, the script runs but jBoss isn't successfully started and no information is available to say why it hasnt started,

Thanks for the information,

I agree. Here's the link:
subject: Hudson: Deploy to jBoss
It's not a secret anymore!