buildframework/helium/config/signaling_config_default.ant.xml
branchfix
changeset 395 5ad27ebafc22
parent 217 0f5e3a7fb6af
child 587 85df38eb4012
--- a/buildframework/helium/config/signaling_config_default.ant.xml	Thu Mar 25 12:47:55 2010 +0000
+++ b/buildframework/helium/config/signaling_config_default.ant.xml	Thu Mar 25 14:10:11 2010 +0000
@@ -29,13 +29,13 @@
 
     <!-- Only for backward compatibility -->
     <hlm:notifierList id="defaultSignalFailNotifier">
-        <hlm:emailNotifier templateSrc="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name}"
+        <hlm:emailNotifier templateSrc="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name} - [message] ${signal.message}"
             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
         </hlm:emailNotifier>
     </hlm:notifierList>
 
     <hlm:notifierList id="defaultFailNotifier">
-        <hlm:emailNotifier defaultTemplate="${helium.dir}/tools/common/templates/log/email_default.html.ftl" title="[signal] ${signal.name}"
+        <hlm:emailNotifier defaultTemplate="${helium.dir}/tools/common/templates/log/email_default.html.ftl" title="[signal] ${signal.name} - [message] ${signal.message}"
             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
         </hlm:emailNotifier>
     </hlm:notifierList>
@@ -103,6 +103,14 @@
         <hlm:notifierListRef refid="defaultFailNotifier" />
     </hlm:signalInput>
 
+    <hlm:signalInput id="raptorErrorSignalInput" failbuild="now">
+        <hlm:notifierListRef refid="defaultFailNotifier" />
+    </hlm:signalInput>
+    
+    <hlm:signalInput id="coveritySignalInput" failbuild="now">
+        <hlm:notifierListRef refid="defaultFailNotifier" />
+    </hlm:signalInput>
+
     <hlm:signalInput id="eeRomsSignalInput" failbuild="never">
         <hlm:notifierListRef refid="defaultAlwaysNotifier" />
     </hlm:signalInput>
@@ -153,10 +161,6 @@
         <hlm:notifierListRef refid="fotaSignalInput" />
     </hlm:signalInput>
 
-    <hlm:signalInput id="btSmokeTestNotifySignalInput" failbuild="never">
-        <hlm:notifierListRef refid="defaultFailNotifier" />
-    </hlm:signalInput>
-
     <hlm:signalInput id="archivePolicyErrorSignalInput" failbuild="never">
         <hlm:notifierListRef refid="defaultFailNotifier" />
     </hlm:signalInput>
@@ -185,29 +189,29 @@
         </hlm:targetCondition>
         <signalNotifierInput>
             <signalInput refid="prepWorkAreaSignalInput" />
-            <notifierInput file = "${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.cache.log.dir}" >
+                    <include name="signals/${build.id}_ccm_get_input*" />
+                    <include name="${build.id}_ccm_get_input*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
     <hlm:signalListenerConfig id="preparationSignal" target="prep-fail" message="Errors during preparation">
         <targetCondition>
-            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ant_build.log.status.xml" />
+            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_main.ant*.status.xml" />
         </targetCondition>
         <signalNotifierInput>
             <signalInput refid="preparationSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_ant_build.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_main.ant*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
-    <hlm:signalListenerConfig id="eeRomsSignal" target="ee-roms" message="Errors happened during ee rom image">
-        <targetCondition>
-            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ee_roms.log.status.xml" />
-        </targetCondition>
-        <signalNotifierInput>
-            <signalInput refid="eeRomsSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_ee_roms.log.html" />
-        </signalNotifierInput>
-    </hlm:signalListenerConfig>
 
     <hlm:signalListenerConfig id="subconRomsSignal" target="subcon-roms" message="Errors happened during subcon rom image">
         <hlm:targetCondition>
@@ -215,7 +219,11 @@
         </hlm:targetCondition>
         <signalNotifierInput>
             <signalInput refid="subconRomsSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_subcon.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_subcon*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
@@ -226,7 +234,11 @@
         </hlm:targetCondition>
         <signalNotifierInput>
             <signalInput refid="traceRomsSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_trace_roms.log.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_trace_roms*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
@@ -236,7 +248,11 @@
         </hlm:targetCondition>
         <signalNotifierInput>
             <signalInput refid="fotaSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_fota.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_fota*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
@@ -246,7 +262,11 @@
         </hlm:targetCondition>
         <signalNotifierInput>
             <signalInput refid="dataPackagingSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_dp.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_dp*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
@@ -260,27 +280,39 @@
         </targetCondition>
         <signalNotifierInput>
             <signalInput refid="atsSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_ats.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_ats*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
     <hlm:signalListenerConfig id="asteSignal" target="ats-aste" message="ASTE finished">
         <hlm:targetCondition>
-            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
+            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_aste.log.status.xml" />
         </hlm:targetCondition>
         <signalNotifierInput>
             <signalInput refid="atsSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_ats.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_aste*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
     <hlm:signalListenerConfig id="mattiSignal" target="matti-test" message="ATS MATTI creation finished">
         <targetCondition>
-            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
+            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_matti.log.status.xml" />
         </targetCondition>
         <signalNotifierInput>
             <signalInput refid="atsSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_ats.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_matti*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
@@ -296,23 +328,24 @@
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
-    <hlm:signalListenerConfig id="btSmokeTestNotifySignal" target="blacktusk-signal" message="Blacktusk signal">
-        <signalNotifierInput>
-            <signalInput refid="btSmokeTestNotifySignalInput" />
-        </signalNotifierInput>
-    </hlm:signalListenerConfig>
-
     <hlm:signalInput id="archiveErrorSignalInput" failbuild="defer">
         <hlm:notifierListRef refid="defaultFailNotifier" />
     </hlm:signalInput>
 
     <hlm:signalListenerConfig id="signalValidatePolicyInvalidOrMissing" target="render-validate-policy" message="Policy file validation">
         <targetCondition>
-            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_validate_policy.log.status.xml" />
+            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_validate-policy.summary.status.xml" />
         </targetCondition>
         <signalNotifierInput>
             <signalInput refid="signalValidatePolicyInvalidOrMissingInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_validate_policy.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_validate-policy*" />
+                </fileset>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_validate-policy*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
@@ -331,7 +364,11 @@
         </targetCondition>
         <signalNotifierInput>
             <signalInput refid="getenvSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_getenv.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_getenv*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
@@ -339,23 +376,24 @@
         <hlm:notifierListRef refid="defaultFailNotifier" />
     </hlm:signalInput>
 
+    <hlm:signalInput id="exceptionSignalInput" failbuild="defer">
+        <hlm:notifierListRef refid="defaultFailNotifier" />
+    </hlm:signalInput>
+
     <hlm:signalListenerConfig id="signalConfigureQt" target="configure-qt" message="Configuring Qt framework">
         <targetCondition>
             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${qt.configure.log.name}.status.xml" />
         </targetCondition>
         <signalNotifierInput>
             <signalInput refid="signalConfigureQtInput" />
-            <notifierInput file = "${build.signal.status.dir}/${qt.configure.log.name}.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${qt.configure.log.name}*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
 
-    <!-- Signal configuration for a signal sent when the build fails completely. -->
-    <hlm:signalInput id="buildExceptionSignalInput" failbuild="never">
-        <hlm:notifierListRef refid="defaultFailNotifier"/>
-    </hlm:signalInput>
-
-    <property name="signals.buildexception.signalinput" value="buildExceptionSignalInput"/>
-
     <hlm:signalInput id="signalRunQMakeInput" failbuild="defer">
         <hlm:notifierListRef refid="defaultFailNotifier" />
     </hlm:signalInput>
@@ -366,12 +404,16 @@
 
     <hlm:signalListenerConfig id="sisFilesSignal" target="sisfiles" message="sisfiles finished">
         <hlm:targetCondition>
-            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_sisfiles.log.status.xml" 
 />
+            <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_sisfiles.log.status.xml" 
+ />
         </hlm:targetCondition>
         <signalNotifierInput>
             <signalInput refid="sisfilesSignalInput" />
-            <notifierInput file = "${build.signal.status.dir}/${build.id}_sisfiles.log.status.html" />
+            <notifierInput>
+                <fileset dir="${build.log.dir}" >
+                    <include name="**/${build.id}_sisfiles*" />
+                </fileset>
+            </notifierInput>
         </signalNotifierInput>
     </hlm:signalListenerConfig>
-
 </project>