aboutsummaryrefslogtreecommitdiff
path: root/utils/mangle-jobs/email-ext-notification-set.mangle
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mangle-jobs/email-ext-notification-set.mangle')
-rw-r--r--utils/mangle-jobs/email-ext-notification-set.mangle20
1 files changed, 0 insertions, 20 deletions
diff --git a/utils/mangle-jobs/email-ext-notification-set.mangle b/utils/mangle-jobs/email-ext-notification-set.mangle
deleted file mode 100644
index 73b0dc0..0000000
--- a/utils/mangle-jobs/email-ext-notification-set.mangle
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Update email notification recepient list
-#
-
-from mangle_helper import *
-
-
-builders = 'linaro-android-builder-notifications@linaro.org'
-restricted_builders = 'linaro-android-restricted-builder-notifications@linaro.org'
-
-def mangle(tree):
- if not tree.xpath('//hudson.plugins.emailext.ExtendedEmailPublisher'):
- # If node doesn't exist do nothing.
- return
- tags = tree.xpath('/project/publishers/hudson.plugins.emailext.ExtendedEmailPublisher/recipientList')
- cfg = get_build_config(tree)
- if cfg.get("BUILD_TYPE", "build-android") == "build-android-restricted":
- tags[0].text = restricted_builders
- else:
- tags[0].text = builders