summaryrefslogtreecommitdiff
path: root/makefile/config.xml
blob: 7a7413f2e6c08e2ba342085ee9c3b30e27208eac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="UTF-8"?>

<cruisecontrol>

<!--
#########################################################
############## ONLY MODIFY THESE PROPERTIES #############
#########################################################-->

	<property name="project_name" value="Android-5.0.0" />
	<property name="path_name" value="5.0.0" />
<!--
#########################################################
#########################################################
-->	
	
	<project name="${project_name}" buildafterfailed="true">

	<listeners>
		<currentbuildstatuslistener
			file="/android/${path_name}/logs/${project_name}/status.txt"/>
	</listeners>

	<bootstrappers>
		<execbootstrapper command="sh" args="git_update.sh" workingdir="/android/${path_name}/env/code/android/makefile/scripts/"/>
	</bootstrappers>
	
    <!-- Defines where cruise looks for changes, to decide whether to run the build -->
	<modificationset quietperiod="300">
		<git LocalWorkingCopy="/android/${path_name}/env/code/" />
	</modificationset>

    <!-- Configures the build loop, how often and which build file/target -->
	<schedule interval="900">
		<ant antscript="/android/${path_name}/env/code/android/makefile/eant" buildfile="/android/${path_name}/env/code/android/makefile/studioBuild.xml"/>
	</schedule>

    <!-- directory to write build logs to -->
	<log dir="/android/${path_name}/logs/${project_name}">
		<delete unit="WEEK"
			every="2"
			ignoreSuffix="true"/>
	</log>

    <!-- Publishers are run *after* a build completes -->
	<publishers>
		<artifactspublisher dest="/android/${path_name}/logs/${project_name}" dir="/android/${path_name}/output/output"/>
		<htmlemail mailhost="serv070.corp.eldorado.org.br"
			returnaddress="android.noreply@serv167.corp.eldorado.org.br" 
			buildresultsurl="http://192.168.4.167:8080/dashboard/tab/build/detail/${project_name}" 
			skipusers="true" spamWhileBroken="false" 
			css="/android/${path_name}/env/cruisecontrol-bin-2.8.4/webapps/cruisecontrol/css/cruisecontrol.css"
			xsldir="/android/${path_name}/env/cruisecontrol-bin-2.8.4/webapps/cruisecontrol/xsl"
			subjectprefix="Build Android -">
			<always address="daniel.pastore@eldorado.org.br"/>
			<always address="julia.perdigueiro@eldorado.org.br" />
			<success address="pablo.leite@eldorado.org.br"/>
			<success address="paulo.faria@eldorado.org.br"/>
		</htmlemail>
	</publishers>
	</project>
	
</cruisecontrol>