equal
deleted
inserted
replaced
33 <notifierInput file="some/file/to/notify.html" /> |
33 <notifierInput file="some/file/to/notify.html" /> |
34 </signalNotifierInput> |
34 </signalNotifierInput> |
35 <hlm:targetCondition> |
35 <hlm:targetCondition> |
36 </available file="some-file.txt" /> |
36 </available file="some-file.txt" /> |
37 </hlm:targetCondition> |
37 </hlm:targetCondition> |
38 </hlm:signalConfig> |
38 </hlm:signalListenerConfig> |
39 |
39 |
40 A signal will then be triggered each time the **target-name** completed. The signalInput will then defined how it should be handled. |
40 A signal will then be triggered each time the **target-name** completed. The signalInput will then defined how it should be handled. |
41 |
41 |
42 Other way to trigger a signal is by using the signal task: |
42 Other way to trigger a signal is by using the signal task: |
43 |
43 |
160 |
160 |
161 <hlm:signalInput id="prepWorkAreaSignalInputWarn" failbuild="defer"> |
161 <hlm:signalInput id="prepWorkAreaSignalInputWarn" failbuild="defer"> |
162 <hlm:notifierListRef refid="defaultSignalFailNotifier" /> |
162 <hlm:notifierListRef refid="defaultSignalFailNotifier" /> |
163 </hlm:signalInput> |
163 </hlm:signalInput> |
164 |
164 |
165 <hlm:signalListenerConfig id="prepWorkAreaSignalWarn"> |
165 <hlm:signalListenerConfig id="prepWorkAreaSignalWarn" target="prep-work-area" message="Warnings happened during Preparing Work Area">> |
166 <signalNotifierInput> |
166 <signalNotifierInput> |
167 <signalInput refid="prepWorkAreaSignalInputWarn" /> |
167 <signalInput refid="prepWorkAreaSignalInputWarn" /> |
168 <notifierInput file="${build.log.dir}/${build.id}_ccm_get_input.log2.xml" /> |
168 <notifierInput file="${build.log.dir}/${build.id}_ccm_get_input.log2.xml" /> |
169 </signalNotifierInput> |
169 </signalNotifierInput> |
170 <hlm:targetCondition name="prep-work-area" message="Warnings happened during Preparing Work Area"> |
170 <hlm:targetCondition> |
171 <hlm:hasSeverity severity="error" file="${build.log.dir}/${build.id}_ccm_get_input.log2.xml"/> |
171 <hlm:hasSeverity severity="error" file="${build.log.dir}/${build.id}_ccm_get_input.log2.xml"/> |
172 </hlm:targetCondition> |
172 </hlm:targetCondition> |
173 </hlm:signalListenerConfig> |
173 </hlm:signalListenerConfig> |
174 |
174 |
175 <target name="prep-work-area" depends="ccmgetinput.prep-work-area"> |
175 <target name="prep-work-area" depends="ccmgetinput.prep-work-area"> |