jenkins-job-builder/tests/publishers/fixtures/email002.xml
K Jonathan Harker 2f9f589fe5 The email publisher needs a list of recipients
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
2015-02-23 13:35:37 -08:00

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>