summaryrefslogtreecommitdiffstats
path: root/job-cfg
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2015-06-03 15:05:04 +0100
committerHolger Levsen <holger@layer-acht.org>2015-06-03 23:44:40 +0200
commitfc083b49a0a0a922d96b39ed600e8cdf92e6df74 (patch)
tree6e5fc4ad95aa077615cdaf02bc872ff1814a3043 /job-cfg
parent401d612b9058fa3d09641b4b81b33e4f38db64a3 (diff)
downloadjenkins.debian.net-fc083b49a0a0a922d96b39ed600e8cdf92e6df74.tar.xz
move function before it's use
Diffstat (limited to 'job-cfg')
-rwxr-xr-xjob-cfg/d-i.yaml.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index 86b5fdc3..b0d89d48 100755
--- a/job-cfg/d-i.yaml.py
+++ b/job-cfg/d-i.yaml.py
@@ -205,6 +205,12 @@ def lr(keep):
return {'artifactDaysToKeep': -1, 'daysToKeep': keep, 'numToKeep': 30, 'artifactNumToKeep': -1}
+def publ_email(irc=None):
+ r = ['jenkins+' + irc] if irc != None else []
+ r.append('qa-jenkins-scm@lists.alioth.debian.org')
+ return [{'email': {'recipients': ' '.join(r)}}]
+
+
def publ(fmt=None,trigger=False,irc=None):
p = []
if trigger:
@@ -219,10 +225,6 @@ def publ(fmt=None,trigger=False,irc=None):
return p
-def publ_email(irc=None):
- r = ['jenkins+' + irc] if irc != None else []
- r.append('qa-jenkins-scm@lists.alioth.debian.org')
- return [{'email': {'recipients': ' '.join(r)}}]
def prop(middle=sb_manual, priority=None):