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

Livnat Peer lpeer at redhat.com
Fri Nov 11 14:01:01 UTC 2011


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



More information about the Engine-devel mailing list