summaryrefslogtreecommitdiff
path: root/makefile/config.xml
diff options
context:
space:
mode:
Diffstat (limited to 'makefile/config.xml')
-rw-r--r--makefile/config.xml63
1 files changed, 63 insertions, 0 deletions
diff --git a/makefile/config.xml b/makefile/config.xml
new file mode 100644
index 0000000..7a7413f
--- /dev/null
+++ b/makefile/config.xml
@@ -0,0 +1,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>