Browse code

Increase apache-maven build timeout from 600000 to 1200000.

Change-Id: Ib9b732fb1531ac376e39e3474e19d4a20f92dac2
Reviewed-on: http://photon-jenkins.eng.vmware.com/301
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George

xiaolin-vmware authored on 2016/01/06 06:29:27
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Apache Maven
2 2
 Name:		apache-maven
3 3
 Version:	3.3.3
4
-Release:	3%{?dist}
4
+Release:	4%{?dist}
5 5
 License:	Apache
6 6
 URL:		http://maven.apache.org
7 7
 Group:		Applications/System
... ...
@@ -23,6 +23,7 @@ The Maven package contains binaries for a build system
23 23
 %prep
24 24
 
25 25
 %setup -q
26
+find . -name build.xml | xargs sed -i 's/timeout="600000"/timeout="1200000"/g'
26 27
 
27 28
 %build
28 29
 MAVEN_DIST_DIR=/var/opt/apache-maven-3.3.3
... ...
@@ -61,6 +62,8 @@ echo 'export MAVEN_OPTS=-Xms256m' >> %{buildroot}/etc/profile.d/%{name}.sh
61 61
 %{_prefix}/conf/toolchains.xml
62 62
 
63 63
 %changelog
64
+*   Tue Jan 5 2016 Xiaolin Li <xiaolinl@vmware.com> 3.3.3-4
65
+-   Increase build timeout from 600000 to 1200000 
64 66
 *   Mon Nov 16 2015 Sharath George <sharathg@vmware.com> 3.3.3-3
65 67
 -	Change path to /var/opt.
66 68
 *   Wed Sep 16 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.3.3-2