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:
- Put my application to JBoss(copy ears, configs, libs e.t.c)
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
- Stop JBoss
I haven't found a good way to do this with JBoss 4.x other than writing a script to run the various steps. After starting the server, wait for long enough for the JBoss services to start and deploy the application, then test that the essential components of your application are registered in JNDI.
I found some links that might help to do this with JBoss 5:
I was going to suggest that you could write your script as a Hudson plugin, but perhaps you could use this instead: JBoss JPBM Plugin for Hudson