buildframework/helium/config/signaling_config_default.ant.xml
changeset 628 7c4a911dc066
parent 588 c7c26511138f
child 645 b8d81fa19e7d
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
    25     Definitions of helium signals. 
    25     Definitions of helium signals. 
    26     </description>
    26     </description>
    27     
    27     
    28     <!-- Only for backward compatibility -->
    28     <!-- Only for backward compatibility -->
    29     <hlm:notifierList id="defaultSignalFailNotifier">
    29     <hlm:notifierList id="defaultSignalFailNotifier">
    30         <hlm:emailNotifier templateSrc="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name} - [message] ${signal.message}"
    30         <hlm:emailNotifier defaultTemplate="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name} - [message] ${signal.message}"
    31             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
    31             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
    32         </hlm:emailNotifier>
    32         </hlm:emailNotifier>
    33     </hlm:notifierList>
    33     </hlm:notifierList>
    34 
    34 
    35     <hlm:notifierList id="defaultFailNotifier">
    35     <hlm:notifierList id="defaultFailNotifier">
    55         </hlm:executeTaskNotifier>
    55         </hlm:executeTaskNotifier>
    56     </hlm:notifierList>
    56     </hlm:notifierList>
    57 
    57 
    58     <!-- Only for backward compatibility -->
    58     <!-- Only for backward compatibility -->
    59     <hlm:notifierList id="defaultSignalAlwaysNotifier">
    59     <hlm:notifierList id="defaultSignalAlwaysNotifier">
    60         <hlm:emailNotifier templateSrc="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name}"
    60         <hlm:emailNotifier defaultTemplate="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name}"
    61             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="always">
    61             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="always">
    62         </hlm:emailNotifier>
    62         </hlm:emailNotifier>
    63     </hlm:notifierList>
    63     </hlm:notifierList>
    64 
    64 
    65     <hlm:notifierList id="defaultAlwaysNotifier">
    65     <hlm:notifierList id="defaultAlwaysNotifier">
   142     </hlm:signalInput>
   142     </hlm:signalInput>
   143 
   143 
   144     <hlm:signalInput id="publishSignalInput" failbuild="defer">
   144     <hlm:signalInput id="publishSignalInput" failbuild="defer">
   145         <hlm:notifierListRef refid="defaultFailNotifier" />
   145         <hlm:notifierListRef refid="defaultFailNotifier" />
   146     </hlm:signalInput>
   146     </hlm:signalInput>
       
   147     
       
   148     <hlm:signalInput id="ConEValidateSignalInput" failbuild="defer">
       
   149         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   150     </hlm:signalInput>
   147 
   151 
   148     <hlm:signalInput id="testOneSignalInput" failbuild="now" />
   152     <hlm:signalInput id="testOneSignalInput" failbuild="now" />
   149 
   153 
   150     <hlm:signalInput id="testTwoSignalInput" failbuild="never" />
   154     <hlm:signalInput id="testTwoSignalInput" failbuild="never" />
   151 
   155 
   165 
   169 
   166     <hlm:signalInput id="signalValidatePolicyInvalidOrMissingInput" failbuild="defer">
   170     <hlm:signalInput id="signalValidatePolicyInvalidOrMissingInput" failbuild="defer">
   167         <hlm:notifierListRef refid="defaultFailNotifier" />
   171         <hlm:notifierListRef refid="defaultFailNotifier" />
   168     </hlm:signalInput>
   172     </hlm:signalInput>
   169 
   173 
   170     <hlm:signalListenerConfig id="prepWorkAreaSignal" target="prep-work-area" message="Errors happened during Preparing Work Area">
   174     <hlm:signalListenerConfig id="prepWorkAreaSignal" target="prep-work-area" message="Errors during Preparing Work Area">
   171         <hlm:targetCondition>
   175         <hlm:targetCondition>
   172             <hlm:hasSeverity severity="error" file="${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.xml" />
   176             <hlm:hasSeverity severity="error" file="${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.xml" />
   173         </hlm:targetCondition>
   177         </hlm:targetCondition>
   174         <signalNotifierInput>
   178         <signalNotifierInput>
   175             <signalInput refid="prepWorkAreaSignalInput" />
   179             <signalInput refid="prepWorkAreaSignalInput" />
   195             </notifierInput>
   199             </notifierInput>
   196         </signalNotifierInput>
   200         </signalNotifierInput>
   197     </hlm:signalListenerConfig>
   201     </hlm:signalListenerConfig>
   198 
   202 
   199 
   203 
   200     <hlm:signalListenerConfig id="subconRomsSignal" target="subcon-roms" message="Errors happened during subcon rom image">
   204     <hlm:signalListenerConfig id="subconRomsSignal" target="subcon-roms" message="Errors during subcon rom image">
   201         <hlm:targetCondition>
   205         <hlm:targetCondition>
   202             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_subcon_roms.log.status.xml" />
   206             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_subcon_roms.log.status.xml" />
   203         </hlm:targetCondition>
   207         </hlm:targetCondition>
   204         <signalNotifierInput>
   208         <signalNotifierInput>
   205             <signalInput refid="subconRomsSignalInput" />
   209             <signalInput refid="subconRomsSignalInput" />
   224                 </fileset>
   228                 </fileset>
   225             </notifierInput>
   229             </notifierInput>
   226         </signalNotifierInput>
   230         </signalNotifierInput>
   227     </hlm:signalListenerConfig>
   231     </hlm:signalListenerConfig>
   228 
   232 
   229     <hlm:signalListenerConfig id="fotaSignal" target="fota-a-build" message="Fota execution finished">
   233     <hlm:signalListenerConfig id="fotaSignal" target="fota-a-build" message="FOTA execution had errors">
   230         <hlm:targetCondition>
   234         <hlm:targetCondition>
   231             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_fota.log.xml" />
   235             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_fota.log.xml" />
   232         </hlm:targetCondition>
   236         </hlm:targetCondition>
   233         <signalNotifierInput>
   237         <signalNotifierInput>
   234             <signalInput refid="fotaSignalInput" />
   238             <signalInput refid="fotaSignalInput" />
   238                 </fileset>
   242                 </fileset>
   239             </notifierInput>
   243             </notifierInput>
   240         </signalNotifierInput>
   244         </signalNotifierInput>
   241     </hlm:signalListenerConfig>
   245     </hlm:signalListenerConfig>
   242 
   246 
   243     <hlm:signalListenerConfig id="dataPackagingSignal" target="build-icreatordp" message="DP creation finished">
   247     <hlm:signalListenerConfig id="dataPackagingSignal" target="build-icreatordp" message="DP creation had errors">
   244         <hlm:targetCondition>
   248         <hlm:targetCondition>
   245             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_dp.log.status.xml" />
   249             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_dp.log.status.xml" />
   246         </hlm:targetCondition>
   250         </hlm:targetCondition>
   247         <signalNotifierInput>
   251         <signalNotifierInput>
   248             <signalInput refid="dataPackagingSignalInput" />
   252             <signalInput refid="dataPackagingSignalInput" />
   256 
   260 
   257     <hlm:signalInput id="atsSignalInput" failbuild="defer">
   261     <hlm:signalInput id="atsSignalInput" failbuild="defer">
   258         <hlm:notifierListRef refid="defaultFailNotifier" />
   262         <hlm:notifierListRef refid="defaultFailNotifier" />
   259     </hlm:signalInput>
   263     </hlm:signalInput>
   260 
   264 
   261     <hlm:signalListenerConfig id="atsSignal" target="ats-test" message="ATS creation finished">
   265     <hlm:signalListenerConfig id="atsSignal" target="ats-test" message="ATS had errors">
   262         <targetCondition>
   266         <targetCondition>
   263             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
   267             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
   264         </targetCondition>
   268         </targetCondition>
   265         <signalNotifierInput>
   269         <signalNotifierInput>
   266             <signalInput refid="atsSignalInput" />
   270             <signalInput refid="atsSignalInput" />
   270                 </fileset>
   274                 </fileset>
   271             </notifierInput>
   275             </notifierInput>
   272         </signalNotifierInput>
   276         </signalNotifierInput>
   273     </hlm:signalListenerConfig>
   277     </hlm:signalListenerConfig>
   274 
   278 
   275     <hlm:signalListenerConfig id="asteSignal" target="ats-aste" message="ASTE finished">
   279     <hlm:signalListenerConfig id="asteSignal" target="ats-aste" message="ASTE had errors">
   276         <hlm:targetCondition>
   280         <hlm:targetCondition>
   277             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_aste.log.status.xml" />
   281             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_aste.log.status.xml" />
   278         </hlm:targetCondition>
   282         </hlm:targetCondition>
   279         <signalNotifierInput>
   283         <signalNotifierInput>
   280             <signalInput refid="atsSignalInput" />
   284             <signalInput refid="atsSignalInput" />
   284                 </fileset>
   288                 </fileset>
   285             </notifierInput>
   289             </notifierInput>
   286         </signalNotifierInput>
   290         </signalNotifierInput>
   287     </hlm:signalListenerConfig>
   291     </hlm:signalListenerConfig>
   288 
   292 
   289     <hlm:signalListenerConfig id="mattiSignal" target="matti-test" message="ATS MATTI creation finished">
   293     <hlm:signalListenerConfig id="mattiSignal" target="matti-test" message="ATS MATTI creation had errors">
   290         <targetCondition>
   294         <targetCondition>
   291             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_matti.log.status.xml" />
   295             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_matti.log.status.xml" />
   292         </targetCondition>
   296         </targetCondition>
   293         <signalNotifierInput>
   297         <signalNotifierInput>
   294             <signalInput refid="atsSignalInput" />
   298             <signalInput refid="atsSignalInput" />
   314 
   318 
   315     <hlm:signalInput id="archiveErrorSignalInput" failbuild="defer">
   319     <hlm:signalInput id="archiveErrorSignalInput" failbuild="defer">
   316         <hlm:notifierListRef refid="defaultFailNotifier" />
   320         <hlm:notifierListRef refid="defaultFailNotifier" />
   317     </hlm:signalInput>
   321     </hlm:signalInput>
   318 
   322 
   319     <hlm:signalListenerConfig id="signalValidatePolicyInvalidOrMissing" target="render-validate-policy" message="Policy file validation">
   323     <hlm:signalListenerConfig id="signalValidatePolicyInvalidOrMissing" target="render-validate-policy" message="Policy file validation had errors">
   320         <targetCondition>
   324         <targetCondition>
   321             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_validate-policy.summary.status.xml" />
   325             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_validate-policy.summary.status.xml" />
   322         </targetCondition>
   326         </targetCondition>
   323         <signalNotifierInput>
   327         <signalNotifierInput>
   324             <signalInput refid="signalValidatePolicyInvalidOrMissingInput" />
   328             <signalInput refid="signalValidatePolicyInvalidOrMissingInput" />
   340     
   344     
   341     <hlm:signalInput id="getenvSignalInput" failbuild="now">
   345     <hlm:signalInput id="getenvSignalInput" failbuild="now">
   342         <hlm:notifierListRef refid="defaultFailNotifier" />
   346         <hlm:notifierListRef refid="defaultFailNotifier" />
   343     </hlm:signalInput>
   347     </hlm:signalInput>
   344 
   348 
   345     <hlm:signalListenerConfig id="getEnvSignal" target="preparation-getenv" message="Getenv finished">
   349     <hlm:signalListenerConfig id="getEnvSignal" target="preparation-getenv" message="Getenv had errors">
   346         <targetCondition>
   350         <targetCondition>
   347             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_getenv.log.status.xml" />
   351             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_getenv.log.status.xml" />
   348         </targetCondition>
   352         </targetCondition>
   349         <signalNotifierInput>
   353         <signalNotifierInput>
   350             <signalInput refid="getenvSignalInput" />
   354             <signalInput refid="getenvSignalInput" />
   362 
   366 
   363     <hlm:signalInput id="exceptionSignalInput" failbuild="defer">
   367     <hlm:signalInput id="exceptionSignalInput" failbuild="defer">
   364         <hlm:notifierListRef refid="defaultFailNotifier" />
   368         <hlm:notifierListRef refid="defaultFailNotifier" />
   365     </hlm:signalInput>
   369     </hlm:signalInput>
   366 
   370 
   367     <hlm:signalListenerConfig id="signalConfigureQt" target="configure-qt" message="Configuring Qt framework">
   371     <hlm:signalListenerConfig id="signalConfigureQt" target="configure-qt" message="Configuring Qt framework had errors">
   368         <targetCondition>
   372         <targetCondition>
   369             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${qt.configure.log.name}.status.xml" />
   373             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${qt.configure.log.name}.status.xml" />
   370         </targetCondition>
   374         </targetCondition>
   371         <signalNotifierInput>
   375         <signalNotifierInput>
   372             <signalInput refid="signalConfigureQtInput" />
   376             <signalInput refid="signalConfigureQtInput" />
   384 
   388 
   385     <hlm:signalInput id="sisfilesSignalInput" failbuild="now">
   389     <hlm:signalInput id="sisfilesSignalInput" failbuild="now">
   386         <hlm:notifierListRef refid="defaultSignalFailNotifier" />
   390         <hlm:notifierListRef refid="defaultSignalFailNotifier" />
   387     </hlm:signalInput>
   391     </hlm:signalInput>
   388 
   392 
   389     <hlm:signalListenerConfig id="sisFilesSignal" target="sisfiles" message="sisfiles finished">
   393     <hlm:signalListenerConfig id="sisFilesSignal" target="sisfiles" message="sisfiles had errors">
   390         <hlm:targetCondition>
   394         <hlm:targetCondition>
   391             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_sisfiles.log.status.xml" 
   395             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_sisfiles.log.status.xml" 
   392  />
   396  />
   393         </hlm:targetCondition>
   397         </hlm:targetCondition>
   394         <signalNotifierInput>
   398         <signalNotifierInput>