blob: 0caa24a6cfd47a2dc0fc143b3b4719247581003a (
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
|
<?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"/>
</publishers>
</project>
</cruisecontrol>
|