I have jboss application. And want to test deployment automatically. And want to add this task as a project in Hudson
My vision is based on the following stages:
Run JBoss
I have a Linux-machine and now our project is require JBoss 4.3.2. How can I run the JBoss and analyze results. Is my application deployed fully and successfully or not?
Run some standalone tests
Automatic application deployment is a simple process that consists of dropping an application into the deployments folder, which is located in the path JBOSS_HOMEstandalonedeployments. By default, every application archive (WAR, JAR, EAR, and SAR) that is placed into this folder is automatically deployed on the server.
The simplest way to check the status of an application running on JBoss / WildFly is to use the CLI tool and the deployment-info command.
The deployment scanner is only used in standalone mode. Its job is to monitor a directory for new files and to deploy those files. It can be found in standalone.
Deployment Modes The scanner can operate in one of two different modes, depending on whether it will directly monitor the deployment content in order to decide to deploy (or redeploy) it.
Use Cargo for an automatic "(download server), start server, deploy application, run tests, undeploy, stop server" cycle. The Maven Cargo plugin does a good job with executing integration tests using Surefire. has support for most app servers, including JBoss 4.
Cargo provides the following Tools and APIs:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With