Hi,
we had a similar problem with our build. First step was to optimize our
tests. By tracing the execution time of our tests we were able to reduce
the time spent on integration tests from 1h to 15m.
We use Team City as CI server. Therefore we were able to parallelize our
build. How we run in parallel static code analysis, unit test, component
test and similar stuff.
Bye,
Oliver
Am 21.12.15 um 13:53 schrieb Sergey Saraev:
Hello!
I am developing a project with 67 modules.
I use Apache Maven 3.0.4.
Reassembly of the project take 1 hour and 50 minutes although usually commit
change only one module.
The project is very large. It contains 5948 java classes (Basically, time spent
on their compilation.).
Build command: mvn clean install pmd:pmd checkstyle:checkstyle
cobertura:cobertura
Plugins versions:
maven-compiler-plugin:2.3.2
maven-antrun-plugin:1.6 (use wlappc task:
http://docs.oracle.com/cd/E21764_01/web.1111/e13706/splitbuild.htm#WLPRG224)
maven-surefire-plugin:2.10
maven-jar-plugin:2.3.2
maven-install-plugin:2.3.1
maven-pmd-plugin:2.7.1
maven-checkstyle-plugin:2.6
cobertura-maven-plugin:2.7
How to speed up the assembly?
(Maybe skip modules, which sources have not changed or something else)
Regards,
Sergey Saraev | Research & Development | Office: +7 (846) 270-7800 ext. 2662 |
Mobile: +7 (917) 813-5604 | --www.NetCracker.com--
Proven Partner to Communications Service Providers
________________________________
The information transmitted herein is intended only for the person or entity to
which it is addressed and may contain confidential, proprietary and/or
privileged material. Any review, retransmission, dissemination or other use of,
or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received this
in error, please contact the sender and delete the material from any computer.
--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E [email protected]
S oliver.b.fischer
J [email protected]
X http://xing.to/obf
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]