buildframework/helium/config/signaling_config_default.ant.xml
changeset 179 d8ac696cc51f
parent 1 be27ed110b50
child 217 0f5e3a7fb6af
equal deleted inserted replaced
1:be27ed110b50 179:d8ac696cc51f
    27     
    27     
    28     <taskdef resource="org/apache/tools/ant/types/conditions/antlib.xml" />
    28     <taskdef resource="org/apache/tools/ant/types/conditions/antlib.xml" />
    29 
    29 
    30     <!-- Only for backward compatibility -->
    30     <!-- Only for backward compatibility -->
    31     <hlm:notifierList id="defaultSignalFailNotifier">
    31     <hlm:notifierList id="defaultSignalFailNotifier">
    32         <hlm:emailNotifier templateSrc="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name}"
    32         <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">
    33             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
    34         </hlm:emailNotifier>
    34         </hlm:emailNotifier>
    35     </hlm:notifierList>
    35     </hlm:notifierList>
    36 
    36 
    37     <hlm:notifierList id="defaultFailNotifier">
    37     <hlm:notifierList id="defaultFailNotifier">
    38         <hlm:emailNotifier defaultTemplate="${helium.dir}/tools/common/templates/log/email_default.html.ftl" title="[signal] ${signal.name}"
    38         <hlm:emailNotifier defaultTemplate="${helium.dir}/tools/common/templates/log/email_default.html.ftl" title="[signal] ${signal.name} - [message] ${signal.message}"
    39             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
    39             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
    40         </hlm:emailNotifier>
    40         </hlm:emailNotifier>
    41     </hlm:notifierList>
    41     </hlm:notifierList>
    42 
    42 
    43 
    43 
   101 
   101 
   102     <hlm:signalInput id="compileSignalInput" failbuild="defer">
   102     <hlm:signalInput id="compileSignalInput" failbuild="defer">
   103         <hlm:notifierListRef refid="defaultFailNotifier" />
   103         <hlm:notifierListRef refid="defaultFailNotifier" />
   104     </hlm:signalInput>
   104     </hlm:signalInput>
   105 
   105 
       
   106     <hlm:signalInput id="raptorErrorSignalInput" failbuild="now">
       
   107         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   108     </hlm:signalInput>
       
   109 
   106     <hlm:signalInput id="eeRomsSignalInput" failbuild="never">
   110     <hlm:signalInput id="eeRomsSignalInput" failbuild="never">
   107         <hlm:notifierListRef refid="defaultAlwaysNotifier" />
   111         <hlm:notifierListRef refid="defaultAlwaysNotifier" />
   108     </hlm:signalInput>
   112     </hlm:signalInput>
   109 
   113 
   110     <hlm:signalInput id="subconRomsSignalInput" failbuild="never">
   114     <hlm:signalInput id="subconRomsSignalInput" failbuild="never">
   183         <hlm:targetCondition>
   187         <hlm:targetCondition>
   184             <hlm:hasSeverity severity="error" file="${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.xml" />
   188             <hlm:hasSeverity severity="error" file="${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.xml" />
   185         </hlm:targetCondition>
   189         </hlm:targetCondition>
   186         <signalNotifierInput>
   190         <signalNotifierInput>
   187             <signalInput refid="prepWorkAreaSignalInput" />
   191             <signalInput refid="prepWorkAreaSignalInput" />
   188             <notifierInput file = "${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.html" />
   192             <notifierInput>
       
   193                 <fileset dir="${build.cache.log.dir}" >
       
   194                     <include name="signals/${build.id}_ccm_get_input*" />
       
   195                     <include name="${build.id}_ccm_get_input*" />
       
   196                 </fileset>
       
   197             </notifierInput>
   189         </signalNotifierInput>
   198         </signalNotifierInput>
   190     </hlm:signalListenerConfig>
   199     </hlm:signalListenerConfig>
   191 
   200 
   192     <hlm:signalListenerConfig id="preparationSignal" target="prep-fail" message="Errors during preparation">
   201     <hlm:signalListenerConfig id="preparationSignal" target="prep-fail" message="Errors during preparation">
   193         <targetCondition>
   202         <targetCondition>
   194             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ant_build.log.status.xml" />
   203             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ant_build.log.status.xml" />
   195         </targetCondition>
   204         </targetCondition>
   196         <signalNotifierInput>
   205         <signalNotifierInput>
   197             <signalInput refid="preparationSignalInput" />
   206             <signalInput refid="preparationSignalInput" />
   198             <notifierInput file = "${build.signal.status.dir}/${build.id}_ant_build.log.status.html" />
   207             <notifierInput>
       
   208                 <fileset dir="${build.log.dir}" >
       
   209                     <include name="**/${build.id}_main.ant*" />
       
   210                 </fileset>
       
   211             </notifierInput>
   199         </signalNotifierInput>
   212         </signalNotifierInput>
   200     </hlm:signalListenerConfig>
   213     </hlm:signalListenerConfig>
   201 
   214 
   202     <hlm:signalListenerConfig id="eeRomsSignal" target="ee-roms" message="Errors happened during ee rom image">
   215     <hlm:signalListenerConfig id="eeRomsSignal" target="ee-roms" message="Errors happened during ee rom image">
   203         <targetCondition>
   216         <targetCondition>
   204             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ee_roms.log.status.xml" />
   217             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ee_roms.log.status.xml" />
   205         </targetCondition>
   218         </targetCondition>
   206         <signalNotifierInput>
   219         <signalNotifierInput>
   207             <signalInput refid="eeRomsSignalInput" />
   220             <signalInput refid="eeRomsSignalInput" />
   208             <notifierInput file = "${build.signal.status.dir}/${build.id}_ee_roms.log.html" />
   221             <notifierInput>
       
   222                 <fileset dir="${build.log.dir}" >
       
   223                     <include name="**/${build.id}_ee_roms*" />
       
   224                 </fileset>
       
   225             </notifierInput>
   209         </signalNotifierInput>
   226         </signalNotifierInput>
   210     </hlm:signalListenerConfig>
   227     </hlm:signalListenerConfig>
   211 
   228 
   212     <hlm:signalListenerConfig id="subconRomsSignal" target="subcon-roms" message="Errors happened during subcon rom image">
   229     <hlm:signalListenerConfig id="subconRomsSignal" target="subcon-roms" message="Errors happened during subcon rom image">
   213         <hlm:targetCondition>
   230         <hlm:targetCondition>
   214             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_subcon_roms.log.status.xml" />
   231             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_subcon_roms.log.status.xml" />
   215         </hlm:targetCondition>
   232         </hlm:targetCondition>
   216         <signalNotifierInput>
   233         <signalNotifierInput>
   217             <signalInput refid="subconRomsSignalInput" />
   234             <signalInput refid="subconRomsSignalInput" />
   218             <notifierInput file = "${build.signal.status.dir}/${build.id}_subcon.log.status.html" />
   235             <notifierInput>
       
   236                 <fileset dir="${build.log.dir}" >
       
   237                     <include name="**/${build.id}_subcon*" />
       
   238                 </fileset>
       
   239             </notifierInput>
   219         </signalNotifierInput>
   240         </signalNotifierInput>
   220     </hlm:signalListenerConfig>
   241     </hlm:signalListenerConfig>
   221 
   242 
   222 
   243 
   223     <hlm:signalListenerConfig id="traceRomsSignal" target="trace-roms" message="Errors happened during trace rom">
   244     <hlm:signalListenerConfig id="traceRomsSignal" target="trace-roms" message="Errors happened during trace rom">
   224         <hlm:targetCondition>
   245         <hlm:targetCondition>
   225             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_trace_roms.log.xml" />
   246             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_trace_roms.log.xml" />
   226         </hlm:targetCondition>
   247         </hlm:targetCondition>
   227         <signalNotifierInput>
   248         <signalNotifierInput>
   228             <signalInput refid="traceRomsSignalInput" />
   249             <signalInput refid="traceRomsSignalInput" />
   229             <notifierInput file = "${build.signal.status.dir}/${build.id}_trace_roms.log.html" />
   250             <notifierInput>
       
   251                 <fileset dir="${build.log.dir}" >
       
   252                     <include name="**/${build.id}_trace_roms*" />
       
   253                 </fileset>
       
   254             </notifierInput>
   230         </signalNotifierInput>
   255         </signalNotifierInput>
   231     </hlm:signalListenerConfig>
   256     </hlm:signalListenerConfig>
   232 
   257 
   233     <hlm:signalListenerConfig id="fotaSignal" target="fota-a-build" message="Fota execution finished">
   258     <hlm:signalListenerConfig id="fotaSignal" target="fota-a-build" message="Fota execution finished">
   234         <hlm:targetCondition>
   259         <hlm:targetCondition>
   235             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_fota.log.xml" />
   260             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_fota.log.xml" />
   236         </hlm:targetCondition>
   261         </hlm:targetCondition>
   237         <signalNotifierInput>
   262         <signalNotifierInput>
   238             <signalInput refid="fotaSignalInput" />
   263             <signalInput refid="fotaSignalInput" />
   239             <notifierInput file = "${build.signal.status.dir}/${build.id}_fota.log.status.html" />
   264             <notifierInput>
       
   265                 <fileset dir="${build.log.dir}" >
       
   266                     <include name="**/${build.id}_fota*" />
       
   267                 </fileset>
       
   268             </notifierInput>
   240         </signalNotifierInput>
   269         </signalNotifierInput>
   241     </hlm:signalListenerConfig>
   270     </hlm:signalListenerConfig>
   242 
   271 
   243     <hlm:signalListenerConfig id="dataPackagingSignal" target="build-icreatordp" message="DP creation finished">
   272     <hlm:signalListenerConfig id="dataPackagingSignal" target="build-icreatordp" message="DP creation finished">
   244         <hlm:targetCondition>
   273         <hlm:targetCondition>
   245             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_dp.log.status.xml" />
   274             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_dp.log.status.xml" />
   246         </hlm:targetCondition>
   275         </hlm:targetCondition>
   247         <signalNotifierInput>
   276         <signalNotifierInput>
   248             <signalInput refid="dataPackagingSignalInput" />
   277             <signalInput refid="dataPackagingSignalInput" />
   249             <notifierInput file = "${build.signal.status.dir}/${build.id}_dp.log.status.html" />
   278             <notifierInput>
       
   279                 <fileset dir="${build.log.dir}" >
       
   280                     <include name="**/${build.id}_dp*" />
       
   281                 </fileset>
       
   282             </notifierInput>
   250         </signalNotifierInput>
   283         </signalNotifierInput>
   251     </hlm:signalListenerConfig>
   284     </hlm:signalListenerConfig>
   252 
   285 
   253     <hlm:signalInput id="atsSignalInput" failbuild="defer">
   286     <hlm:signalInput id="atsSignalInput" failbuild="defer">
   254         <hlm:notifierListRef refid="defaultFailNotifier" />
   287         <hlm:notifierListRef refid="defaultFailNotifier" />
   258         <targetCondition>
   291         <targetCondition>
   259             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
   292             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
   260         </targetCondition>
   293         </targetCondition>
   261         <signalNotifierInput>
   294         <signalNotifierInput>
   262             <signalInput refid="atsSignalInput" />
   295             <signalInput refid="atsSignalInput" />
   263             <notifierInput file = "${build.signal.status.dir}/${build.id}_ats.log.status.html" />
   296             <notifierInput>
       
   297                 <fileset dir="${build.log.dir}" >
       
   298                     <include name="**/${build.id}_ats*" />
       
   299                 </fileset>
       
   300             </notifierInput>
   264         </signalNotifierInput>
   301         </signalNotifierInput>
   265     </hlm:signalListenerConfig>
   302     </hlm:signalListenerConfig>
   266 
   303 
   267     <hlm:signalListenerConfig id="asteSignal" target="ats-aste" message="ASTE finished">
   304     <hlm:signalListenerConfig id="asteSignal" target="ats-aste" message="ASTE finished">
   268         <hlm:targetCondition>
   305         <hlm:targetCondition>
   269             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
   306             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_aste.log.status.xml" />
   270         </hlm:targetCondition>
   307         </hlm:targetCondition>
   271         <signalNotifierInput>
   308         <signalNotifierInput>
   272             <signalInput refid="atsSignalInput" />
   309             <signalInput refid="atsSignalInput" />
   273             <notifierInput file = "${build.signal.status.dir}/${build.id}_ats.log.status.html" />
   310             <notifierInput>
       
   311                 <fileset dir="${build.log.dir}" >
       
   312                     <include name="**/${build.id}_aste*" />
       
   313                 </fileset>
       
   314             </notifierInput>
   274         </signalNotifierInput>
   315         </signalNotifierInput>
   275     </hlm:signalListenerConfig>
   316     </hlm:signalListenerConfig>
   276 
   317 
   277     <hlm:signalListenerConfig id="mattiSignal" target="matti-test" message="ATS MATTI creation finished">
   318     <hlm:signalListenerConfig id="mattiSignal" target="matti-test" message="ATS MATTI creation finished">
   278         <targetCondition>
   319         <targetCondition>
   279             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
   320             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_matti.log.status.xml" />
   280         </targetCondition>
   321         </targetCondition>
   281         <signalNotifierInput>
   322         <signalNotifierInput>
   282             <signalInput refid="atsSignalInput" />
   323             <signalInput refid="atsSignalInput" />
   283             <notifierInput file = "${build.signal.status.dir}/${build.id}_ats.log.status.html" />
   324             <notifierInput>
       
   325                 <fileset dir="${build.log.dir}" >
       
   326                     <include name="**/${build.id}_matti*" />
       
   327                 </fileset>
       
   328             </notifierInput>
   284         </signalNotifierInput>
   329         </signalNotifierInput>
   285     </hlm:signalListenerConfig>
   330     </hlm:signalListenerConfig>
   286 
   331 
   287     <hlm:signalListenerConfig id="publishSignal" target="publish" message="content published">
   332     <hlm:signalListenerConfig id="publishSignal" target="publish" message="content published">
   288         <signalNotifierInput>
   333         <signalNotifierInput>
   306         <hlm:notifierListRef refid="defaultFailNotifier" />
   351         <hlm:notifierListRef refid="defaultFailNotifier" />
   307     </hlm:signalInput>
   352     </hlm:signalInput>
   308 
   353 
   309     <hlm:signalListenerConfig id="signalValidatePolicyInvalidOrMissing" target="render-validate-policy" message="Policy file validation">
   354     <hlm:signalListenerConfig id="signalValidatePolicyInvalidOrMissing" target="render-validate-policy" message="Policy file validation">
   310         <targetCondition>
   355         <targetCondition>
   311             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_validate_policy.log.status.xml" />
   356             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_validate-policy.summary.status.xml" />
   312         </targetCondition>
   357         </targetCondition>
   313         <signalNotifierInput>
   358         <signalNotifierInput>
   314             <signalInput refid="signalValidatePolicyInvalidOrMissingInput" />
   359             <signalInput refid="signalValidatePolicyInvalidOrMissingInput" />
   315             <notifierInput file = "${build.signal.status.dir}/${build.id}_validate_policy.log.status.html" />
   360             <notifierInput>
       
   361                 <fileset dir="${build.log.dir}" >
       
   362                     <include name="**/${build.id}_validate-policy*" />
       
   363                 </fileset>
       
   364                 <fileset dir="${build.log.dir}" >
       
   365                     <include name="**/${build.id}_validate-policy*" />
       
   366                 </fileset>
       
   367             </notifierInput>
   316         </signalNotifierInput>
   368         </signalNotifierInput>
   317     </hlm:signalListenerConfig>
   369     </hlm:signalListenerConfig>
   318 
   370 
   319     <hlm:signalInput id="canonicalSysDefFailSignalInput" failbuild="now">
   371     <hlm:signalInput id="canonicalSysDefFailSignalInput" failbuild="now">
   320         <hlm:notifierListRef refid="defaultFailNotifier" />
   372         <hlm:notifierListRef refid="defaultFailNotifier" />
   329         <targetCondition>
   381         <targetCondition>
   330             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_getenv.log.status.xml" />
   382             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_getenv.log.status.xml" />
   331         </targetCondition>
   383         </targetCondition>
   332         <signalNotifierInput>
   384         <signalNotifierInput>
   333             <signalInput refid="getenvSignalInput" />
   385             <signalInput refid="getenvSignalInput" />
   334             <notifierInput file = "${build.signal.status.dir}/${build.id}_getenv.log.status.html" />
   386             <notifierInput>
       
   387                 <fileset dir="${build.log.dir}" >
       
   388                     <include name="**/${build.id}_getenv*" />
       
   389                 </fileset>
       
   390             </notifierInput>
   335         </signalNotifierInput>
   391         </signalNotifierInput>
   336     </hlm:signalListenerConfig>
   392     </hlm:signalListenerConfig>
   337 
   393 
   338     <hlm:signalInput id="signalConfigureQtInput" failbuild="defer">
   394     <hlm:signalInput id="signalConfigureQtInput" failbuild="defer">
   339         <hlm:notifierListRef refid="defaultFailNotifier" />
   395         <hlm:notifierListRef refid="defaultFailNotifier" />
   340     </hlm:signalInput>
   396     </hlm:signalInput>
   341 
   397 
       
   398     <hlm:signalInput id="exceptionSignalInput" failbuild="defer">
       
   399         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   400     </hlm:signalInput>
       
   401 
   342     <hlm:signalListenerConfig id="signalConfigureQt" target="configure-qt" message="Configuring Qt framework">
   402     <hlm:signalListenerConfig id="signalConfigureQt" target="configure-qt" message="Configuring Qt framework">
   343         <targetCondition>
   403         <targetCondition>
   344             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${qt.configure.log.name}.status.xml" />
   404             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${qt.configure.log.name}.status.xml" />
   345         </targetCondition>
   405         </targetCondition>
   346         <signalNotifierInput>
   406         <signalNotifierInput>
   347             <signalInput refid="signalConfigureQtInput" />
   407             <signalInput refid="signalConfigureQtInput" />
   348             <notifierInput file = "${build.signal.status.dir}/${qt.configure.log.name}.status.html" />
   408             <notifierInput>
   349         </signalNotifierInput>
   409                 <fileset dir="${build.log.dir}" >
   350     </hlm:signalListenerConfig>
   410                     <include name="**/${qt.configure.log.name}*" />
   351 
   411                 </fileset>
   352     <!-- Signal configuration for a signal sent when the build fails completely. -->
   412             </notifierInput>
   353     <hlm:signalInput id="buildExceptionSignalInput" failbuild="never">
   413         </signalNotifierInput>
   354         <hlm:notifierListRef refid="defaultFailNotifier"/>
   414     </hlm:signalListenerConfig>
   355     </hlm:signalInput>
       
   356 
       
   357     <property name="signals.buildexception.signalinput" value="buildExceptionSignalInput"/>
       
   358 
   415 
   359     <hlm:signalInput id="signalRunQMakeInput" failbuild="defer">
   416     <hlm:signalInput id="signalRunQMakeInput" failbuild="defer">
   360         <hlm:notifierListRef refid="defaultFailNotifier" />
   417         <hlm:notifierListRef refid="defaultFailNotifier" />
   361     </hlm:signalInput>
   418     </hlm:signalInput>
   362 
   419 
   369             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_sisfiles.log.status.xml" 
   426             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_sisfiles.log.status.xml" 
   370  />
   427  />
   371         </hlm:targetCondition>
   428         </hlm:targetCondition>
   372         <signalNotifierInput>
   429         <signalNotifierInput>
   373             <signalInput refid="sisfilesSignalInput" />
   430             <signalInput refid="sisfilesSignalInput" />
   374             <notifierInput file = "${build.signal.status.dir}/${build.id}_sisfiles.log.status.html" />
   431             <notifierInput>
   375         </signalNotifierInput>
   432                 <fileset dir="${build.log.dir}" >
   376     </hlm:signalListenerConfig>
   433                     <include name="**/${build.id}_sisfiles*" />
   377 
   434                 </fileset>
       
   435             </notifierInput>
       
   436         </signalNotifierInput>
       
   437     </hlm:signalListenerConfig>
   378 </project>
   438 </project>