Hi folks,
We need to deploy the war file to multiple servers from hudson. I tried
google search and experimenting a little with not much of luck. Normally
we execute
mvn -Ptrunk clean package cargo:redeploy -DskipTests=true
Internally in code hierarchy, we have a qa deployer module that is
dependent upon the WAR files that need to be deployed. This module is
meant just for deployment with no other sources. It defines the required
cargo setup with proper deployable entries and it works fine for one server.
I tried creating two profiles qa1 and qa2 with proper server urls, but
the goal is executed only once. Only way out I see is create another
deployer module but hate to duplicate configuration at two levels when
just server url is different.
Is there any other way to achieve cargo deployment on multiple servers?
I can add another project which will do deployment on other server, but
don't know if there is a way to define cargo configuration (e.g.
deployables and other properties) at one location and use it in multiple
projects.
Any help is greatly appreciated.
Niranjan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]