buildframework/helium/config/signaling_config_default.ant.xml
changeset 1 be27ed110b50
child 179 d8ac696cc51f
equal deleted inserted replaced
0:044383f39525 1:be27ed110b50
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!-- 
       
     3 ============================================================================ 
       
     4 Name        : signaling_config_default.xml 
       
     5 Part of     : Helium 
       
     6 
       
     7 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     8 All rights reserved.
       
     9 This component and the accompanying materials are made available
       
    10 under the terms of the License "Eclipse Public License v1.0"
       
    11 which accompanies this distribution, and is available
       
    12 at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    13 
       
    14 Initial Contributors:
       
    15 Nokia Corporation - initial contribution.
       
    16 
       
    17 Contributors:
       
    18 
       
    19 Description:
       
    20 
       
    21 ============================================================================
       
    22 -->
       
    23 <project name="signaling-config" xmlns:hlm="http://www.nokia.com/helium">
       
    24     <description>
       
    25     Definitions of helium signals. 
       
    26     </description>
       
    27     
       
    28     <taskdef resource="org/apache/tools/ant/types/conditions/antlib.xml" />
       
    29 
       
    30     <!-- Only for backward compatibility -->
       
    31     <hlm:notifierList id="defaultSignalFailNotifier">
       
    32         <hlm:emailNotifier templateSrc="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name}"
       
    33             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
       
    34         </hlm:emailNotifier>
       
    35     </hlm:notifierList>
       
    36 
       
    37     <hlm:notifierList id="defaultFailNotifier">
       
    38         <hlm:emailNotifier defaultTemplate="${helium.dir}/tools/common/templates/log/email_default.html.ftl" title="[signal] ${signal.name}"
       
    39             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="fail">
       
    40         </hlm:emailNotifier>
       
    41     </hlm:notifierList>
       
    42 
       
    43 
       
    44     <!-- check for its usage 
       
    45     <hlm:notifierList id="defaultSignalWarnNotifier">
       
    46         <hlm:emailNotifier defaultTemplate="${helium.dir}/tools/common/templates/log/email_warning.html.ftl" title="[signal] ${signal.name}"
       
    47             smtp="${email.smtp.server}" ldap="${email.ldap.server}">
       
    48         </hlm:emailNotifier>
       
    49     </hlm:notifierList>
       
    50     -->
       
    51 
       
    52     <!-- This configuration just dump some message while a signal is raised. -->
       
    53     <hlm:notifierList id="echoSignalNotifier">
       
    54         <hlm:executeTaskNotifier>
       
    55             <echo>defaultSignalAlwaysNotifier: Signal: ${signal.name}</echo>
       
    56             <echo>defaultSignalAlwaysNotifier: Status: ${signal.status}</echo>
       
    57         </hlm:executeTaskNotifier>
       
    58     </hlm:notifierList>
       
    59 
       
    60     <!-- Only for backward compatibility -->
       
    61     <hlm:notifierList id="defaultSignalAlwaysNotifier">
       
    62         <hlm:emailNotifier templateSrc="${helium.dir}/tools/common/templates/log/email_new.html.ftl" title="[signal] ${signal.name}"
       
    63             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="always">
       
    64         </hlm:emailNotifier>
       
    65     </hlm:notifierList>
       
    66 
       
    67     <hlm:notifierList id="defaultAlwaysNotifier">
       
    68         <hlm:emailNotifier defaultTemplate="${helium.dir}/tools/common/templates/log/email_default.html.ftl" title="[signal] ${signal.name}"
       
    69             smtp="${email.smtp.server}" ldap="${email.ldap.server}" notifyWhen="always">
       
    70         </hlm:emailNotifier>
       
    71     </hlm:notifierList>
       
    72 
       
    73     <hlm:signalInput id="buildManagementSignalInput" failbuild="now">
       
    74         <hlm:notifierListRef refid="defaultSignalFailNotifier"/>
       
    75     </hlm:signalInput>
       
    76 
       
    77     <!-- default signal input, incase if no signal input is defined this
       
    78         will be used -->
       
    79     <hlm:signalInput id="defaultSignalInput" failbuild="defer">
       
    80         <hlm:notifierListRef refid="defaultFailNotifier" />
       
    81     </hlm:signalInput>
       
    82 
       
    83     <hlm:signalInput id="prepWorkAreaSignalInput" failbuild="now">
       
    84         <hlm:notifierListRef refid="defaultFailNotifier" />
       
    85     </hlm:signalInput>
       
    86 
       
    87     <!-- Check for its usage (as email template is not supported as 
       
    88     converted directly from ant xml file). 
       
    89     <hlm:signalInput id="prepWorkAreaSignalInputWarn" failbuild="never">
       
    90         <hlm:notifierListRef refid="defaultSignalWarnNotifier" />
       
    91     </hlm:signalInput>
       
    92     -->
       
    93     <hlm:signalInput id="preparationSignalInput" failbuild="now">
       
    94         <hlm:notifierListRef refid="defaultFailNotifier" />
       
    95     </hlm:signalInput>
       
    96 
       
    97     <hlm:signalInput id="compileCleanSignalInput" failbuild="never">
       
    98         <hlm:notifierListRef refid="defaultFailNotifier" />
       
    99     </hlm:signalInput>
       
   100 
       
   101 
       
   102     <hlm:signalInput id="compileSignalInput" failbuild="defer">
       
   103         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   104     </hlm:signalInput>
       
   105 
       
   106     <hlm:signalInput id="eeRomsSignalInput" failbuild="never">
       
   107         <hlm:notifierListRef refid="defaultAlwaysNotifier" />
       
   108     </hlm:signalInput>
       
   109 
       
   110     <hlm:signalInput id="subconRomsSignalInput" failbuild="never">
       
   111         <hlm:notifierListRef refid="defaultAlwaysNotifier" />
       
   112     </hlm:signalInput>
       
   113 
       
   114     <hlm:signalInput id="localizedRomsSignalInput" failbuild="defer">
       
   115         <hlm:notifierListRef refid="defaultAlwaysNotifier" />
       
   116     </hlm:signalInput>
       
   117 
       
   118     <hlm:signalInput id="rombuildSignalInput" failbuild="never">
       
   119         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   120     </hlm:signalInput>
       
   121 
       
   122     <hlm:signalInput id="traceRomsSignalInput" failbuild="never">
       
   123         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   124     </hlm:signalInput>
       
   125 
       
   126     <hlm:signalInput id="graceUploadSignalInput" failbuild="defer">
       
   127         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   128     </hlm:signalInput>
       
   129 
       
   130     <hlm:signalInput id="dataPackagingSignalInput" failbuild="defer">
       
   131         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   132     </hlm:signalInput>
       
   133 
       
   134     <hlm:signalInput id="buildFinishedSignalInput" failbuild="now">
       
   135         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   136     </hlm:signalInput>
       
   137 
       
   138     <hlm:signalInput id="publishSignalInput" failbuild="defer">
       
   139         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   140     </hlm:signalInput>
       
   141 
       
   142     <hlm:signalInput id="testOneSignalInput" failbuild="now" />
       
   143 
       
   144     <hlm:signalInput id="testTwoSignalInput" failbuild="never" />
       
   145 
       
   146     <hlm:signalInput id="testThreeSignalInput" failbuild="defer" />
       
   147 
       
   148     <hlm:signalInput id="testAlwaysSignalInput" />
       
   149 
       
   150     <hlm:signalInput id="testAlertsSignalInput" failbuild="now" />
       
   151 
       
   152     <hlm:signalInput id="fotaSignalInput" failbuild="never">
       
   153         <hlm:notifierListRef refid="fotaSignalInput" />
       
   154     </hlm:signalInput>
       
   155 
       
   156     <hlm:signalInput id="btSmokeTestNotifySignalInput" failbuild="never">
       
   157         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   158     </hlm:signalInput>
       
   159 
       
   160     <hlm:signalInput id="archivePolicyErrorSignalInput" failbuild="never">
       
   161         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   162     </hlm:signalInput>
       
   163 
       
   164     <hlm:signalInput id="signalValidatePolicyInvalidOrMissingInput" failbuild="defer">
       
   165         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   166     </hlm:signalInput>
       
   167 
       
   168     <hlm:signalInput id="testSBSScanlogInput" failbuild="now">
       
   169         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   170     </hlm:signalInput>
       
   171 
       
   172     <hlm:signalListenerConfig id="testSBSScanlog" target="test-scanlog-metadata-1" message="sbs scanlog processed">
       
   173         <hlm:targetCondition>
       
   174             <hlm:hasSeverity severity="error" file="${env.TEMP}/signals/test-scanlog-metadata-1.log.status.xml" />
       
   175         </hlm:targetCondition>
       
   176         <signalNotifierInput>
       
   177             <signalInput refid="testSBSScanlogInput" />
       
   178             <notifierInput file = "${env.TEMP}/signals/test-scanlog-metadata-1.log.status.html" />
       
   179         </signalNotifierInput>
       
   180     </hlm:signalListenerConfig>
       
   181 
       
   182     <hlm:signalListenerConfig id="prepWorkAreaSignal" target="prep-work-area" message="Errors happened during Preparing Work Area">
       
   183         <hlm:targetCondition>
       
   184             <hlm:hasSeverity severity="error" file="${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.xml" />
       
   185         </hlm:targetCondition>
       
   186         <signalNotifierInput>
       
   187             <signalInput refid="prepWorkAreaSignalInput" />
       
   188             <notifierInput file = "${build.cache.log.dir}/signals/${build.id}_ccm_get_input.log.status.html" />
       
   189         </signalNotifierInput>
       
   190     </hlm:signalListenerConfig>
       
   191 
       
   192     <hlm:signalListenerConfig id="preparationSignal" target="prep-fail" message="Errors during preparation">
       
   193         <targetCondition>
       
   194             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ant_build.log.status.xml" />
       
   195         </targetCondition>
       
   196         <signalNotifierInput>
       
   197             <signalInput refid="preparationSignalInput" />
       
   198             <notifierInput file = "${build.signal.status.dir}/${build.id}_ant_build.log.status.html" />
       
   199         </signalNotifierInput>
       
   200     </hlm:signalListenerConfig>
       
   201 
       
   202     <hlm:signalListenerConfig id="eeRomsSignal" target="ee-roms" message="Errors happened during ee rom image">
       
   203         <targetCondition>
       
   204             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ee_roms.log.status.xml" />
       
   205         </targetCondition>
       
   206         <signalNotifierInput>
       
   207             <signalInput refid="eeRomsSignalInput" />
       
   208             <notifierInput file = "${build.signal.status.dir}/${build.id}_ee_roms.log.html" />
       
   209         </signalNotifierInput>
       
   210     </hlm:signalListenerConfig>
       
   211 
       
   212     <hlm:signalListenerConfig id="subconRomsSignal" target="subcon-roms" message="Errors happened during subcon rom image">
       
   213         <hlm:targetCondition>
       
   214             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_subcon_roms.log.status.xml" />
       
   215         </hlm:targetCondition>
       
   216         <signalNotifierInput>
       
   217             <signalInput refid="subconRomsSignalInput" />
       
   218             <notifierInput file = "${build.signal.status.dir}/${build.id}_subcon.log.status.html" />
       
   219         </signalNotifierInput>
       
   220     </hlm:signalListenerConfig>
       
   221 
       
   222 
       
   223     <hlm:signalListenerConfig id="traceRomsSignal" target="trace-roms" message="Errors happened during trace rom">
       
   224         <hlm:targetCondition>
       
   225             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_trace_roms.log.xml" />
       
   226         </hlm:targetCondition>
       
   227         <signalNotifierInput>
       
   228             <signalInput refid="traceRomsSignalInput" />
       
   229             <notifierInput file = "${build.signal.status.dir}/${build.id}_trace_roms.log.html" />
       
   230         </signalNotifierInput>
       
   231     </hlm:signalListenerConfig>
       
   232 
       
   233     <hlm:signalListenerConfig id="fotaSignal" target="fota-a-build" message="Fota execution finished">
       
   234         <hlm:targetCondition>
       
   235             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_fota.log.xml" />
       
   236         </hlm:targetCondition>
       
   237         <signalNotifierInput>
       
   238             <signalInput refid="fotaSignalInput" />
       
   239             <notifierInput file = "${build.signal.status.dir}/${build.id}_fota.log.status.html" />
       
   240         </signalNotifierInput>
       
   241     </hlm:signalListenerConfig>
       
   242 
       
   243     <hlm:signalListenerConfig id="dataPackagingSignal" target="build-icreatordp" message="DP creation finished">
       
   244         <hlm:targetCondition>
       
   245             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_dp.log.status.xml" />
       
   246         </hlm:targetCondition>
       
   247         <signalNotifierInput>
       
   248             <signalInput refid="dataPackagingSignalInput" />
       
   249             <notifierInput file = "${build.signal.status.dir}/${build.id}_dp.log.status.html" />
       
   250         </signalNotifierInput>
       
   251     </hlm:signalListenerConfig>
       
   252 
       
   253     <hlm:signalInput id="atsSignalInput" failbuild="defer">
       
   254         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   255     </hlm:signalInput>
       
   256 
       
   257     <hlm:signalListenerConfig id="atsSignal" target="ats-test" message="ATS creation finished">
       
   258         <targetCondition>
       
   259             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
       
   260         </targetCondition>
       
   261         <signalNotifierInput>
       
   262             <signalInput refid="atsSignalInput" />
       
   263             <notifierInput file = "${build.signal.status.dir}/${build.id}_ats.log.status.html" />
       
   264         </signalNotifierInput>
       
   265     </hlm:signalListenerConfig>
       
   266 
       
   267     <hlm:signalListenerConfig id="asteSignal" target="ats-aste" message="ASTE finished">
       
   268         <hlm:targetCondition>
       
   269             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
       
   270         </hlm:targetCondition>
       
   271         <signalNotifierInput>
       
   272             <signalInput refid="atsSignalInput" />
       
   273             <notifierInput file = "${build.signal.status.dir}/${build.id}_ats.log.status.html" />
       
   274         </signalNotifierInput>
       
   275     </hlm:signalListenerConfig>
       
   276 
       
   277     <hlm:signalListenerConfig id="mattiSignal" target="matti-test" message="ATS MATTI creation finished">
       
   278         <targetCondition>
       
   279             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_ats.log.status.xml" />
       
   280         </targetCondition>
       
   281         <signalNotifierInput>
       
   282             <signalInput refid="atsSignalInput" />
       
   283             <notifierInput file = "${build.signal.status.dir}/${build.id}_ats.log.status.html" />
       
   284         </signalNotifierInput>
       
   285     </hlm:signalListenerConfig>
       
   286 
       
   287     <hlm:signalListenerConfig id="publishSignal" target="publish" message="content published">
       
   288         <signalNotifierInput>
       
   289             <signalInput refid="publishSignalInput" />
       
   290         </signalNotifierInput>
       
   291     </hlm:signalListenerConfig>
       
   292 
       
   293     <hlm:signalListenerConfig id="testAlertsSignal" target="check-signal" message="Test alert signal">
       
   294         <signalNotifierInput>
       
   295             <signalInput refid="testAlertsSignalInput" />
       
   296         </signalNotifierInput>
       
   297     </hlm:signalListenerConfig>
       
   298 
       
   299     <hlm:signalListenerConfig id="btSmokeTestNotifySignal" target="blacktusk-signal" message="Blacktusk signal">
       
   300         <signalNotifierInput>
       
   301             <signalInput refid="btSmokeTestNotifySignalInput" />
       
   302         </signalNotifierInput>
       
   303     </hlm:signalListenerConfig>
       
   304 
       
   305     <hlm:signalInput id="archiveErrorSignalInput" failbuild="defer">
       
   306         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   307     </hlm:signalInput>
       
   308 
       
   309     <hlm:signalListenerConfig id="signalValidatePolicyInvalidOrMissing" target="render-validate-policy" message="Policy file validation">
       
   310         <targetCondition>
       
   311             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_validate_policy.log.status.xml" />
       
   312         </targetCondition>
       
   313         <signalNotifierInput>
       
   314             <signalInput refid="signalValidatePolicyInvalidOrMissingInput" />
       
   315             <notifierInput file = "${build.signal.status.dir}/${build.id}_validate_policy.log.status.html" />
       
   316         </signalNotifierInput>
       
   317     </hlm:signalListenerConfig>
       
   318 
       
   319     <hlm:signalInput id="canonicalSysDefFailSignalInput" failbuild="now">
       
   320         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   321     </hlm:signalInput>
       
   322 
       
   323     
       
   324     <hlm:signalInput id="getenvSignalInput" failbuild="now">
       
   325         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   326     </hlm:signalInput>
       
   327 
       
   328     <hlm:signalListenerConfig id="getEnvSignal" target="preparation-getenv" message="Getenv finished">
       
   329         <targetCondition>
       
   330             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_getenv.log.status.xml" />
       
   331         </targetCondition>
       
   332         <signalNotifierInput>
       
   333             <signalInput refid="getenvSignalInput" />
       
   334             <notifierInput file = "${build.signal.status.dir}/${build.id}_getenv.log.status.html" />
       
   335         </signalNotifierInput>
       
   336     </hlm:signalListenerConfig>
       
   337 
       
   338     <hlm:signalInput id="signalConfigureQtInput" failbuild="defer">
       
   339         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   340     </hlm:signalInput>
       
   341 
       
   342     <hlm:signalListenerConfig id="signalConfigureQt" target="configure-qt" message="Configuring Qt framework">
       
   343         <targetCondition>
       
   344             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${qt.configure.log.name}.status.xml" />
       
   345         </targetCondition>
       
   346         <signalNotifierInput>
       
   347             <signalInput refid="signalConfigureQtInput" />
       
   348             <notifierInput file = "${build.signal.status.dir}/${qt.configure.log.name}.status.html" />
       
   349         </signalNotifierInput>
       
   350     </hlm:signalListenerConfig>
       
   351 
       
   352     <!-- Signal configuration for a signal sent when the build fails completely. -->
       
   353     <hlm:signalInput id="buildExceptionSignalInput" failbuild="never">
       
   354         <hlm:notifierListRef refid="defaultFailNotifier"/>
       
   355     </hlm:signalInput>
       
   356 
       
   357     <property name="signals.buildexception.signalinput" value="buildExceptionSignalInput"/>
       
   358 
       
   359     <hlm:signalInput id="signalRunQMakeInput" failbuild="defer">
       
   360         <hlm:notifierListRef refid="defaultFailNotifier" />
       
   361     </hlm:signalInput>
       
   362 
       
   363     <hlm:signalInput id="sisfilesSignalInput" failbuild="now">
       
   364         <hlm:notifierListRef refid="defaultSignalFailNotifier" />
       
   365     </hlm:signalInput>
       
   366 
       
   367     <hlm:signalListenerConfig id="sisFilesSignal" target="sisfiles" message="sisfiles finished">
       
   368         <hlm:targetCondition>
       
   369             <hlm:hasSeverity severity="error" file="${build.signal.status.dir}/${build.id}_sisfiles.log.status.xml" 
       
   370  />
       
   371         </hlm:targetCondition>
       
   372         <signalNotifierInput>
       
   373             <signalInput refid="sisfilesSignalInput" />
       
   374             <notifierInput file = "${build.signal.status.dir}/${build.id}_sisfiles.log.status.html" />
       
   375         </signalNotifierInput>
       
   376     </hlm:signalListenerConfig>
       
   377 
       
   378 </project>