[Qa-jenkins-scm] [jenkins.debian.net] 01/02: spread load on time triggers with H/

Holger Levsen holger at moszumanska.debian.org
Thu Jun 4 13:27:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 744d9c3544c85facbc34e23f50f47d83c0fcc356
Author: Philip Hands <phil at hands.com>
Date:   Thu Jun 4 14:17:38 2015 +0100

    spread load on time triggers with H/
---
 job-cfg/d-i.yaml.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index 26342c5..c258358 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',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list