Commit Graph

7 Commits

Author SHA1 Message Date
Vsevolod Fedorov 6b92807cd7 Tests: Rename yamlparser tests and fixture directories
Rename fixtures directory to job_fixtures to prepare for adding view_fixtures
directory in the following commits.

Change-Id: Ic20997cae020b542ddc22bf444fa6b92fbcae064
2023-01-26 11:06:23 +03:00
Dong Ma 05e92d417b
Update mailer plugin
- update mailer plugin to use convert xml
- add plugin="mailer" attribute
- update doc to 4 space indent syntax

Change-Id: Ib1fd30c4e1a82a0649e452b9bf03136d1e7c5ca6
2016-10-19 10:30:02 -04:00
Liu Changcheng c588b842e8 add post-send script option
We need post-send script option to configure presendScript in the
generated configure xml.
When setting post-send as below:
   postsend-script: $DEFAULT_POSTSEND_SCRIPT
We could see below informaton in the generated configure xml.
<hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.42">
 <postsendScript>$DEFAULT_POSTSEND_SCRIPT</postsendScript>
</hudson.plugins.emailext.ExtendedEmailPublisher>

Change-Id: Ic215b2f3a9b5e7361a2cc1772226382da341ecd1
Signed-off-by: Liu Changcheng <changcheng.liu@intel.com>
Signed-off-by: Jerry Liu <primerlink@gmail.com>
2016-08-19 08:27:31 +08:00
Liu Changcheng 457b79fcfe add compress-log option to compress log
<hudson.plugins.emailext.plugins.trigger.FailureTrigger>
 <email>
  <compressBuildLog>true</compressBuildLog>
 </email>
</hudson.plugins.emailext.plugins.trigger.FailureTrigger>

Change-Id: I3588ab1377737af94372818f43dfd6a83a0966cb
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Signed-off-by: Jerry Liu <primerlink@gmail.com>
2016-08-17 13:36:24 +08:00
Darragh Bailey e5738d0852 Allow whitespace to be significant
Remove the test options suppressing ignoring differences in whitespace
outputted in the XML to allow capturing of issues where the code
incorrectly adds or removes significant whitespace.

Add a helper function to deal with the edge case of parsing XML directly
that contains non significant whitespace to avoid accidentally adding
excess whitespace when minidom outputs the resulting document.

Change-Id: I9936042cd82c204ba2b3c19f575703e33564f7fd
2015-08-11 18:31:48 +01:00
Somay Jain ad76699f50 Support disable-publisher and both-html-text content-type in email-ext
Support new options, disable-publisher option that is intended to
disable the publisher without removing the settings for testing,
and the both-html-text content-type option for the email-ext
plugin.

Change-Id: I6dab8101f8859a98be0c4a5f8068661c7af66a6b
2015-07-29 00:41:26 +05:30
Darragh Bailey 3ae187b1a7 Add test for name defaults overridden by template
JJB currently allows for named defaults to be specified at both the
project and template level. Add a test case that exercises this and
demonstrates that current interpolation ignores variables without
definitions if they are not subsequently used when expanding the
template.

Change-Id: Iffdda9f79c12fb71077bf621f8b08381dbcc9ac1
2015-01-31 10:48:58 -08:00