Added also a test case for version specific changes
Change-Id: I5213dccffc441037c63ee7c042aee4a8a84d9732
Signed-off-by: Eren ATAS <eatas.contractor@libertyglobal.com>
Add support for the recipient item "Upstream Committers" of the
"Send To" list of a trigger of the "Email Extension" (email-ext)
plugin.
Change-Id: Iaa77330bb1910881df154494b0472ce21ea28d99
Task: 39595
Story: 2007607
Support for these triggers was added in email-ext v2.37 and v2.32
respectively.
Change-Id: Ib1353611bb77dc5e1789df0338cb434b7967db5d
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
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>
<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>
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
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
- added an ability to select the recipients from the predefined groups,
such as 'Committers', 'Requester' and 'Culprits'
- added tests for the whole email-ext plugin
Change-Id: I3b03aa1f57f29352121b8501d1fa9fe77383f3b7
The email-ext publisher was always sending email using the default
content type which is server wide. This tiny patch let us overwrite the
content-type on a job basis.
The YAML possible values are 'html' or 'text' to force the content-type
to one of the two modes.
Change-Id: Id66bc3369332c389dfb6318113392694a4f98aad