Add tests for 'email' reporter
Change-Id: Idf5b24e41cfd458824abb9bc634582827c3f2575
This commit is contained in:
parent
2c4de9abb1
commit
21f0506e65
11
tests/reporters/fixtures/email-full.xml
Normal file
11
tests/reporters/fixtures/email-full.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<maven2-moduleset>
|
||||
<reporters>
|
||||
<hudson.maven.reporters.MavenMailer>
|
||||
<recipients>breakage@example.com</recipients>
|
||||
<dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild>
|
||||
<sendToIndividuals>true</sendToIndividuals>
|
||||
<perModuleEmail>false</perModuleEmail>
|
||||
</hudson.maven.reporters.MavenMailer>
|
||||
</reporters>
|
||||
</maven2-moduleset>
|
7
tests/reporters/fixtures/email-full.yaml
Normal file
7
tests/reporters/fixtures/email-full.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
project-type: maven
|
||||
reporters:
|
||||
- email:
|
||||
recipients: breakage@example.com
|
||||
notify-every-unstable-build: false
|
||||
send-to-individuals: true
|
||||
notify-for-each-module: false
|
11
tests/reporters/fixtures/email-minimal.xml
Normal file
11
tests/reporters/fixtures/email-minimal.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<maven2-moduleset>
|
||||
<reporters>
|
||||
<hudson.maven.reporters.MavenMailer>
|
||||
<recipients>breakage@example.com</recipients>
|
||||
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
|
||||
<sendToIndividuals>false</sendToIndividuals>
|
||||
<perModuleEmail>true</perModuleEmail>
|
||||
</hudson.maven.reporters.MavenMailer>
|
||||
</reporters>
|
||||
</maven2-moduleset>
|
4
tests/reporters/fixtures/email-minimal.yaml
Normal file
4
tests/reporters/fixtures/email-minimal.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
project-type: maven
|
||||
reporters:
|
||||
- email:
|
||||
recipients: breakage@example.com
|
Loading…
Reference in New Issue
Block a user