From a67c4cab87d133c3067b5696ab2ddc6554dd8fe9 Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Thu, 22 Mar 2018 10:21:17 +0100 Subject: [PATCH] Reporters: fix 'perModuleEmail' support Unfortunately, during the review process of commit 454259ed3 I made a typo and notify-for-each-module argument is not parsed correctly. Change-Id: Ia053dbd722800f536c347d58f9b9822e2e67868a --- jenkins_jobs/modules/reporters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins_jobs/modules/reporters.py b/jenkins_jobs/modules/reporters.py index db9f417f0..eb53d80f5 100644 --- a/jenkins_jobs/modules/reporters.py +++ b/jenkins_jobs/modules/reporters.py @@ -70,7 +70,7 @@ def email(registry, xml_parent, data): XML.SubElement(mailer, 'sendToIndividuals').text = str( data.get('send-to-individuals', False)).lower() XML.SubElement(mailer, 'perModuleEmail').text = str( - data.get('notify-for-every-module', True)).lower() + data.get('notify-for-each-module', True)).lower() def findbugs(registry, xml_parent, data):