buildframework/helium/config/signaling_config_default.ant.xml
changeset 620 ad8ffc8e1982
parent 588 c7c26511138f
child 628 7c4a911dc066
equal deleted inserted replaced
585:238f4cb8391f 620:ad8ffc8e1982
    23 <project name="signaling-config" xmlns:hlm="http://www.nokia.com/helium">
    23 <project name="signaling-config" xmlns:hlm="http://www.nokia.com/helium">
    24     <description>
    24     <description>
    25     Definitions of helium signals. 
    25     Definitions of helium signals. 
    26     </description>
    26     </description>
    27     
    27     
    28     <taskdef resource="org/apache/tools/ant/types/conditions/antlib.xml" />
       
    29 
       
    30     <!-- Only for backward compatibility -->
    28     <!-- Only for backward compatibility -->
    31     <hlm:notifierList id="defaultSignalFailNotifier">
    29     <hlm:notifierList id="defaultSignalFailNotifier">
    32         <hlm:emailNotifier templateSrc="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name} - [message] ${signal.message}"
    30         <hlm:emailNotifier templateSrc="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name} - [message] ${signal.message}"
    33             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
    31             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
    34         </hlm:emailNotifier>
    32         </hlm:emailNotifier>
   167 
   165 
   168     <hlm:signalInput id="signalValidatePolicyInvalidOrMissingInput" failbuild="defer">
   166     <hlm:signalInput id="signalValidatePolicyInvalidOrMissingInput" failbuild="defer">
   169         <hlm:notifierListRef refid="defaultFailNotifier" />
   167         <hlm:notifierListRef refid="defaultFailNotifier" />
   170     </hlm:signalInput>
   168     </hlm:signalInput>
   171 
   169 
   172     <hlm:signalInput id="testSBSScanlogInput" failbuild="now">
       
   173         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   174     </hlm:signalInput>
       
   175 
       
   176     <hlm:signalListenerConfig id="testSBSScanlog" target="test-scanlog-metadata-1" message="sbs scanlog processed">
       
   177         <hlm:targetCondition>
       
   178             <hlm:hasSeverity severity="error" file="${env.TEMP}/signals/test-scanlog-metadata-1.log.status.xml" />
       
   179         </hlm:targetCondition>
       
   180         <signalNotifierInput>
       
   181             <signalInput refid="testSBSScanlogInput" />
       
   182             <notifierInput file = "${env.TEMP}/signals/test-scanlog-metadata-1.log.status.html" />
       
   183         </signalNotifierInput>
       
   184     </hlm:signalListenerConfig>
       
   185 
       
   186     <hlm:signalListenerConfig id="prepWorkAreaSignal" target="prep-work-area" message="Errors happened during Preparing Work Area">
   170     <hlm:signalListenerConfig id="prepWorkAreaSignal" target="prep-work-area" message="Errors happened during Preparing Work Area">
   187         <hlm:targetCondition>
   171         <hlm:targetCondition>
   188             <hlm:hasSeverity severity="error" file="${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.xml" />
   172             <hlm:hasSeverity severity="error" file="${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.xml" />
   189         </hlm:targetCondition>
   173         </hlm:targetCondition>
   190         <signalNotifierInput>
   174         <signalNotifierInput>
   414                     <include name="**/${build.id}_sisfiles*" />
   398                     <include name="**/${build.id}_sisfiles*" />
   415                 </fileset>
   399                 </fileset>
   416             </notifierInput>
   400             </notifierInput>
   417         </signalNotifierInput>
   401         </signalNotifierInput>
   418     </hlm:signalListenerConfig>
   402     </hlm:signalListenerConfig>
       
   403     
       
   404     <hlm:signalExceptionConfig id="signal.exception.post.build">
       
   405         <hlm:notifierList>
       
   406             <hlm:executeTaskNotifier>
       
   407                 <if>                
       
   408                     <isset property="exceptions.target" />
       
   409                     <then>
       
   410                         <runtarget target="${exceptions.target}" />
       
   411                     </then>
       
   412                 </if>
       
   413             </hlm:executeTaskNotifier>
       
   414         </hlm:notifierList>
       
   415     </hlm:signalExceptionConfig>
   419 </project>
   416 </project>
       
   417 
       
   418