[Engine-devel] how to execute deploy directly after build

Hi! When I do mvn clean install... is there a way to do the step cd ear mvn install,dep in one step together with the step above? I would like Jenkins to build and deploy to a instance running in the same node, but I can only specify one goal for maven. Regards, -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany

On 11/11/2011 03:44 PM, Duncan Mac-Vicar P. wrote:
Hi!
When I do mvn clean install...
is there a way to do the step
cd ear mvn install,dep
in one step together with the step above?
I would like Jenkins to build and deploy to a instance running in the same node, but I can only specify one goal for maven.
Regards,
Hi Duncan, sure, the cd ear is not a required step you can do both compile and deploy from the root dir, try - $OVIRT_HOME> mvn install -Pdep you can also skip tests if you want a quick cycle - $OVIRT_HOME> mvn install -Pdep -DskipTests Thanks, Livnat
participants (2)
-
Duncan Mac-Vicar P.
-
Livnat Peer