Add tests for 'email' reporter

Change-Id: Idf5b24e41cfd458824abb9bc634582827c3f2575
This commit is contained in:
Vsevolod Fedorov 2023-11-22 11:15:33 +03:00
parent 2c4de9abb1
commit 21f0506e65
4 changed files with 33 additions and 0 deletions

View 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>

View 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

View 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>

View File

@ -0,0 +1,4 @@
project-type: maven
reporters:
- email:
recipients: breakage@example.com