summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2015-06-04 14:17:38 +0100
committerPhilip Hands <phil@hands.com>2015-06-04 14:19:52 +0100
commit744d9c3544c85facbc34e23f50f47d83c0fcc356 (patch)
treee1d38bd0b990254b687055940de876ef68a2ad26
parent7e5df76353029aefeece93667be8f3a6401792e7 (diff)
downloadjenkins.debian.net-744d9c3544c85facbc34e23f50f47d83c0fcc356.tar.xz
spread load on time triggers with H/
-rwxr-xr-xjob-cfg/d-i.yaml.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index 26342c56..c258358f 100755
--- a/job-cfg/d-i.yaml.py
+++ b/job-cfg/d-i.yaml.py
@@ -251,7 +251,7 @@ def jobspec_svn(key, name, desc=None, defaults=None,
if defaults != None:
j['defaults'] = defaults
if trigger != None:
- j['triggers'] = [{'pollscm': '*/' + str(trigger) + ' * * * *'}]
+ j['triggers'] = [{'pollscm': 'H/' + str(trigger) + ' * * * *'}]
if logkeep != None:
j['logrotate'] = lr(logkeep)
return { key : j }
@@ -324,8 +324,8 @@ data.extend(
'logrotate': lr(90),
'publishers': publ(irc=irc)}}
for (n,bdsc,br,trg,irc)
- in [('d-i-build', 'master branch', 'origin/master', '*/6 * * * *', 'debian-boot'),
- ('d-i-pu-build', 'pu/ branches', 'origin/pu/**' , '*/10 * * * *', None)]])
+ in [('d-i-build', 'master branch', 'origin/master', 'H/6 * * * *', 'debian-boot'),
+ ('d-i-pu-build', 'pu/ branches', 'origin/pu/**' , 'H/10 * * * *', None)]])
data.append(
jobspec_svn(key='job-template',