[Qa-jenkins-scm] [jenkins.debian.net] 01/01: use new 'cron' parameter for pollscm
Holger Levsen
holger at moszumanska.debian.org
Sun Mar 13 21:43:30 UTC 2016
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 e19c1cb72298cd19cc329546fc706c6bfcf658aa
Author: Philip Hands <phil at hands.com>
Date: Sun Mar 13 22:33:15 2016 +0100
use new 'cron' parameter for pollscm
old style deprecated since 1.3.0, according to:
http://docs.openstack.org/infra/jenkins-job-builder/triggers.html#triggers.pollscm
---
job-cfg/d-i.yaml.py | 4 ++--
job-cfg/debsums-tests.yaml | 3 ++-
job-cfg/edu-packages.yaml | 3 ++-
job-cfg/haskell-package-plan.yaml | 3 ++-
job-cfg/lintian-tests.yaml | 3 ++-
job-cfg/piuparts.yaml | 3 ++-
job-cfg/rebootstrap.yaml.py | 3 ++-
job-cfg/reproducible.yaml | 6 ++++--
job-cfg/torbrowser-launcher.yaml | 3 ++-
9 files changed, 20 insertions(+), 11 deletions(-)
diff --git a/job-cfg/d-i.yaml.py b/job-cfg/d-i.yaml.py
index 20e2f58..43450e5 100755
--- a/job-cfg/d-i.yaml.py
+++ b/job-cfg/d-i.yaml.py
@@ -298,7 +298,7 @@ def jobspec_svn(key, name, desc, defaults=None,
if defaults is not None:
j['defaults'] = defaults
if trigger is not None:
- j['triggers'] = [{'pollscm': trigger}]
+ j['triggers'] = [{'pollscm': {'cron': trigger}}]
if logkeep is not None:
j['logrotate'] = lr(logkeep)
return {key: j}
@@ -339,7 +339,7 @@ data.extend(
'description': ('Builds debian packages in sid from git {branchdesc}, '
'triggered by pushes to <pre>{gitrepo}</pre> '
'{do_not_edit}'),
- 'triggers': [{'pollscm': '{trg}'}],
+ 'triggers': [{'pollscm': {'cron': '{trg}'}}],
'scm': [{'git': {'url': '{gitrepo}',
'branches': ['{branch}']}}],
'builders': [{'shell': '/srv/jenkins/bin/d-i_build.sh'}],
diff --git a/job-cfg/debsums-tests.yaml b/job-cfg/debsums-tests.yaml
index cd12226..73a2c0b 100644
--- a/job-cfg/debsums-tests.yaml
+++ b/job-cfg/debsums-tests.yaml
@@ -48,7 +48,8 @@
defaults: debsums-tests
name: '{name}_sid'
triggers:
- - pollscm: '*/6 * * * *'
+ - pollscm:
+ cron: '*/6 * * * *'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org pkg-perl-maintainers at lists.alioth.debian.org'
diff --git a/job-cfg/edu-packages.yaml b/job-cfg/edu-packages.yaml
index 725fa51..f20c4b3 100644
--- a/job-cfg/edu-packages.yaml
+++ b/job-cfg/edu-packages.yaml
@@ -28,7 +28,8 @@
builders:
- shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} debuild -b -uc -us'
triggers:
- - pollscm: '*/6 * * * *'
+ - pollscm:
+ cron: '*/6 * * * *'
publishers:
- email:
recipients: 'jenkins+debian-edu debian-edu-commits at lists.alioth.debian.org'
diff --git a/job-cfg/haskell-package-plan.yaml b/job-cfg/haskell-package-plan.yaml
index de6bc54..7b2bfed 100644
--- a/job-cfg/haskell-package-plan.yaml
+++ b/job-cfg/haskell-package-plan.yaml
@@ -58,7 +58,8 @@
defaults: haskell-package-plan
name: '{name}'
triggers:
- - pollscm: '*/6 * * * *'
+ - pollscm:
+ cron: '*/6 * * * *'
- timed: '0 16 * * *' # every day at 16:00 UTC
- project:
diff --git a/job-cfg/lintian-tests.yaml b/job-cfg/lintian-tests.yaml
index 8e6450c..13be2b3 100644
--- a/job-cfg/lintian-tests.yaml
+++ b/job-cfg/lintian-tests.yaml
@@ -58,7 +58,8 @@
defaults: lintian-tests
name: '{name}_sid'
triggers:
- - pollscm: '*/6 * * * *'
+ - pollscm:
+ cron: '*/6 * * * *'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org lintian-maint at debian.org'
diff --git a/job-cfg/piuparts.yaml b/job-cfg/piuparts.yaml
index ff14012..337b899 100644
--- a/job-cfg/piuparts.yaml
+++ b/job-cfg/piuparts.yaml
@@ -52,7 +52,8 @@
defaults: piuparts
name: '{name}_testsuite_sid'
triggers:
- - pollscm: '*/6 * * * *'
+ - pollscm:
+ cron: '*/6 * * * *'
publishers:
- email:
recipients: 'jenkins+debian-qa qa-jenkins-scm at lists.alioth.debian.org piuparts-devel at lists.alioth.debian.org'
diff --git a/job-cfg/rebootstrap.yaml.py b/job-cfg/rebootstrap.yaml.py
index 23ec5ed..39de2fe 100755
--- a/job-cfg/rebootstrap.yaml.py
+++ b/job-cfg/rebootstrap.yaml.py
@@ -83,7 +83,8 @@ print("""
- email:
recipients: 'jenkins+debian-bootstrap helmutg at debian.org'
triggers:
- - pollscm: '*/6 * * * *'
+ - pollscm:
+ cron: '*/6 * * * *'
node: '{my_node}'
""")
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index 10d5431..90cd218 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -43,7 +43,8 @@
description: *desc
triggers:
- timed: '{my_timed}'
- - pollscm: '*/6 * * * *'
+ - pollscm:
+ cron: '*/6 * * * *'
logrotate:
daysToKeep: 90
numToKeep: 20
@@ -186,7 +187,8 @@
- reproducible # no special category yet
triggers:
- timed: '{my_timed}'
- - pollscm: '*/6 * * * *'
+ - pollscm:
+ cron: '*/6 * * * *'
logrotate:
daysToKeep: 90
numToKeep: 30
diff --git a/job-cfg/torbrowser-launcher.yaml b/job-cfg/torbrowser-launcher.yaml
index db2200b..e4cae15 100644
--- a/job-cfg/torbrowser-launcher.yaml
+++ b/job-cfg/torbrowser-launcher.yaml
@@ -38,7 +38,8 @@
name: torbrowser-launcher_git
project-type: freestyle
triggers:
- - pollscm: '*/6 * * * *'
+ - pollscm:
+ cron: '*/6 * * * *'
- timed: '{my_timed}'
sb_desc: torbrowser-launcher
properties:
--
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