2f9f589fe5
The email publisher will throw a NullPointerException of the recipients xml element does not exist, so if there are no recipients then set the value to an empty string in order to get an empty xml element in the config. Also add tests for the email publisher. story: 2000015 Change-Id: I7b4fdd4904eea1918ae80f5db6c7b0aaedbaef99
11 lines
287 B
XML
11 lines
287 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<project>
|
|
<publishers>
|
|
<hudson.tasks.Mailer>
|
|
<recipients/>
|
|
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
|
|
<sendToIndividuals>true</sendToIndividuals>
|
|
</hudson.tasks.Mailer>
|
|
</publishers>
|
|
</project>
|